Sage 100

 View Only
  • 1.  Crosstabs in Crystal

    Posted 04-28-2023 10:00

    Have a cross tab comparing sales by customer by year by month - anyone know of a way to put the difference each month between the years?  So first month for ARA would be 50, second month 412, etc




    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------


  • 2.  RE: Crosstabs in Crystal

    Posted 04-30-2023 01:02
    Edited by Dan Burleson 04-30-2023 01:19

    You can use "Calculated Measures" to add a row or column to a crosstab, but on your rows it won't repeat for each group. Can you switch the years to be columns and the months to be rows? In that case a single Calculated Measure could be added to show a calculation between years. Below is an example where I added three measures. The value difference and percentage difference between columns and the average of all columns.

    Three Calculated Measures added to a Crosstab



    If you've never used Crystal's calculated measures you could check out this video.



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------



  • 3.  RE: Crosstabs in Crystal

    Posted 04-30-2023 09:56

    I don't think they would like the switched view, but if the choice is between calculating those numbers themselves and having it switched, their answer may be a grudging yes.  Thanks for the info!



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------



  • 4.  RE: Crosstabs in Crystal

    Posted 04-30-2023 10:12

    And... pivoting wouldn't work for this one.  Rats.



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------



  • 5.  RE: Crosstabs in Crystal

    Posted 04-30-2023 11:10

    I think that only leaves a standard summary Crystal report with a dozen variables to calculate the difference between the current and previous year.



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------



  • 6.  RE: Crosstabs in Crystal

    Posted 04-30-2023 15:50

    So it gets better - they currently have a prompt for start and end year (so it can be more than 2) and start and end MONTH if they only care about April - October, say.



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------



  • 7.  RE: Crosstabs in Crystal

    Posted 04-30-2023 19:20

    You could define the dozen Global variables as arrays, put them in a group footer "b", increment an index for each occurrence of the group (i.e. year), accumulate the differences,  and supress the section if all twelve differences for the current array level are empty. Reset the index on each customer group header.



    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------



  • 8.  RE: Crosstabs in Crystal

    Posted 05-01-2023 15:29

    SOOOOO - I've never used arrays.  I suppose it might be worth it to learn on this one - and then something new to have in my tookbox.

    Thanks for the info!



    ------------------------------
    Beth Bowers
    (269) 358-0989
    ------------------------------