Yes I am looking for a workaround if it cannot be done straight forwardly....
Report Example:
Type1
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
John 2 3 2 4 1 2 0 0 0 0 0 0
Deb 3 2 4 1 2 1 0 0 0 0 0 0
Rob 4 1 2 3 3 2 0 0 0 0 0 0
Lisa 2 3 2 4 1 2 0 0 0 0 0 0
SQL Columns and Data Example:
Name Month Count SalesType
John 2 2 Type1
John 2 1 Type1
John 1 1 Type1
John 1 1 Type1
Deb 1 3 Type1
Deb 2 1 Type1
Deb 2 1 Type1
Rob 1 2 Type1
Rob 1 1 Type1
Rob 1 1 Type1
Rob 2 2 Type1
Lisa 1 1 Type1
Lisa 1 1 Type1
Lisa 2 1 Type1
Lisa 2 1 Type1
Lisa 2 1 Type1
Etc.....
The Month is derived from a date say 01/05/2003 and 01/06/2003 hence multiple records from a Group By.
Notice beginning in 2004 there will not be data for Feb on yet I wish to display Feb to Dec columns with 0 as the cell value.
Another Hitch the data appears in a Group Section of the report for each SalesType. As such modifying the SQL to dummy the data (Union Statements etc) is impossible since the different types of SalesTypes can increase or decrease.
Does this help any better?
Thank you,
Richard
Main Topics
Browse All Topics





by: erpetersPosted on 2003-12-04 at 12:29:33ID: 9877345
If you mean show columns where there is no data...I do not think this is possible...with more info there are workarounds, but complicated