cancel
Showing results for 
Search instead for 
Did you mean: 

Report grouped by month, need months with no data to appear.

Former Member
0 Kudos
116

In my report, I have the data grouped on a formula field that concatenates month and year, so all of my months are returned in order with summary data for the months in headder along with the group name. The details are supressed.

I have two issues.

1) I need the headders to show up for all months, even months with no data. I've had a similar issue in the past, which I've worked around, but I was grouping based on a finite ordinal set that existed in my database. I simply let in a little more data than I needed, and supressed the extra rows. This isn't going to work here.

2) I need the zeroed data points to appear in a graph. Right now, the graph just ignores months that don't exist in the dataset, and as a result the time scale isn't an accurate representation of the actual data trend. ie: if Jan was 13, Feb was 0, and March was 13, on the graph, the line is continuous from 13 to 14. For a user who isn't paying attention to the axis would miss that there is actually a zero in there.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

file

report options

check null value boxes, that should pull in null values

Former Member
0 Kudos

Thanks for the suggestion.

It's not that the records exist, and the values are null.

the problem is that I need a month to appear even though there are no records whose data values fall in that month, and for it to show a '0' in summary fields.

Former Member
0 Kudos

My "cheating" method of doing this is to keep a file that has nothinig but dates and make it the primary file that other files link to for these type of reports.

I just created a dbf file using FoxPro, I'm sure you could do the same thing in SQL or just about anything else.

Former Member
0 Kudos

If you download the "Reports that demonstrate subreport functionality" zip file from this link:

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm, there is a report in there called "Creating_Fake_Records.rpt" which may help you.

Former Member
0 Kudos

Crikey! that looks complecated! But it also looks like it'll work.

Thanks for the help!

-R

Answers (0)