narayanis
Programmer
- Apr 14, 2011
- 4
I'm comparing aggregate data between a current period and a prior period. My stored proc does most of the work, so my results are like this (simplified for clarity):
showdescr - period - headcount
Gen Admission - 1 - 200
Gen Admission - 2 - 150
Can you point me to some resources that show the best approach to have Crystal display a single row per show, with columns for headcount of periods 1 and 2. For example, the end result above would be:
Gen Admission - 200 - 150
I could squish it into one row per show in SQL by creating a table that has Showdescr,Headcount1, Headcount2, Revenue1, Revenue2, etc, but I feel like Crystal has a more elegant way to handle this. Thanks for any advice!
showdescr - period - headcount
Gen Admission - 1 - 200
Gen Admission - 2 - 150
Can you point me to some resources that show the best approach to have Crystal display a single row per show, with columns for headcount of periods 1 and 2. For example, the end result above would be:
Gen Admission - 200 - 150
I could squish it into one row per show in SQL by creating a table that has Showdescr,Headcount1, Headcount2, Revenue1, Revenue2, etc, but I feel like Crystal has a more elegant way to handle this. Thanks for any advice!