Hi,
I'm using CR9 with MySQL4.1.
Current grouping:
- Week 1
- Monday
- Tuesday
- Wednesday
- Week 2
- Monday
- Tuesday
,i.e based on week number and dayname.
I need to show the development percent from week 1's data in week 2 header ((week2 - week1)/week1*100). The problem is that I can't get the value of week 1 from anywhere. Sum({@data}, {@weekno}) gives me the sum of current week data, but how about the previous week? Sum({@data}) gives me the sum of all data.
If the only choice is to do comparing in report header, I can do it there. But still - how to get the value of specific week? I could show the values in cross-tab but it isn't enough.. I need to get the development percent.
Any ideas?
- Duckie
I'm using CR9 with MySQL4.1.
Current grouping:
- Week 1
- Monday
- Tuesday
- Wednesday
- Week 2
- Monday
- Tuesday
,i.e based on week number and dayname.
I need to show the development percent from week 1's data in week 2 header ((week2 - week1)/week1*100). The problem is that I can't get the value of week 1 from anywhere. Sum({@data}, {@weekno}) gives me the sum of current week data, but how about the previous week? Sum({@data}) gives me the sum of all data.
If the only choice is to do comparing in report header, I can do it there. But still - how to get the value of specific week? I could show the values in cross-tab but it isn't enough.. I need to get the development percent.
Any ideas?
- Duckie