Hi there, slight complex report I'm trying to create. Using Crystal 2008 with SQL. I am reporting off of one view, which makes this simple from a data point of view. What I have is this as lines of data.....
Company Name Product Revenue Month
Bob A £450 200907
Bob A £450 200908
Bob B £100 200907
Bob B £100 200908
Sid A £2000 201001
So, we have one line for each period of revenue. What I want to see grouped is.....
Company Product 200907 200908 etc...201001
Bob A £450 £450 £0
Bob B £100 £100 £0
Sid A £0 £0 £2000
Total £550 £550 £2000
So, it looks like a simple cross tab, using the period as the column header. This works well. However, I want all of the data to appear on the left as well (The company name and Product are two of several fields I also want to appear). It's to export into Excel, so I need a load of fields, and then on the end the finance information. It's almost like I need a standard report on the left side of the report listing all the fields and grouping on customer and product, but on the right a corosponding cross tab, but I need it on one line so the export to excel goes smoothly.
I obviously want to avoid creating formulas for each month, as I need to run this each month and so the first month would be the next months period.
Any help would be muchly appriciated.
Regards
Company Name Product Revenue Month
Bob A £450 200907
Bob A £450 200908
Bob B £100 200907
Bob B £100 200908
Sid A £2000 201001
So, we have one line for each period of revenue. What I want to see grouped is.....
Company Product 200907 200908 etc...201001
Bob A £450 £450 £0
Bob B £100 £100 £0
Sid A £0 £0 £2000
Total £550 £550 £2000
So, it looks like a simple cross tab, using the period as the column header. This works well. However, I want all of the data to appear on the left as well (The company name and Product are two of several fields I also want to appear). It's to export into Excel, so I need a load of fields, and then on the end the finance information. It's almost like I need a standard report on the left side of the report listing all the fields and grouping on customer and product, but on the right a corosponding cross tab, but I need it on one line so the export to excel goes smoothly.
I obviously want to avoid creating formulas for each month, as I need to run this each month and so the first month would be the next months period.
Any help would be muchly appriciated.
Regards