Crystal Reports XI on Oracle 11
I need to create a range of dates based on todays date 'T'. The range of dates 'R' is the previous, rolling, 12 months from 'T'.
For each date 'D' in range 'R', I then want to calculate number 'N' of records where the record's date field {DTE} is equal to 'D'
The range of dates 'R' is then shown on a graph (X axis) and SUM(N) plotted on the Y axis. If N=0 then the group is still shown.
(The graph is obviously quite wide; this is okay and as designed; please don't worry about this)
How do I do this in Crystal?