I have a requirement where I need to create a forecast report for the next 90 days. I am able to group data from the database and get it datewise in the following format:
Material Date Qty
XXXX Today 4
XXXX Today+1 5
XXXX Today+3 2
I am able to display it in WEBI in the required format using crosstab
Today Today+1 Today+3......
XXXX 4 5 2
However in the above example, the date (Today+2) is missing in the SQL and thus in the crosstab. There is no qty available for that date (Today+2) in the database hence the SQL I created, did not group any data for that date.
How do I create my sql that it generates all the dates bewteen current date and current date + 90 and then displays the corresponding qty for the dates available.
Thanks