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.
Original Message:
Sent: 04-30-2023 19:19
From: Dan Burleson
Subject: Crosstabs in Crystal
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
------------------------------
Original Message:
Sent: 04-30-2023 15:50
From: Beth Bowers
Subject: Crosstabs in Crystal
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
Original Message:
Sent: 04-30-2023 11:10
From: Dan Burleson
Subject: Crosstabs in Crystal
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
Original Message:
Sent: 04-30-2023 10:12
From: Beth Bowers
Subject: Crosstabs in Crystal
And... pivoting wouldn't work for this one. Rats.
------------------------------
Beth Bowers
(269) 358-0989
Original Message:
Sent: 04-30-2023 01:02
From: Dan Burleson
Subject: Crosstabs in Crystal
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.
If you've never used Crystal's calculated measures you could check out this video.
------------------------------
Dan Burleson
Software Consultant
Connex Software