|
-
Feb 19th, 2003, 07:22 PM
#1
Thread Starter
Fanatic Member
Grouping on Dates
I have a what u could call sales database, and with each sale a date is recorded
so when i make a graph Sales VS Date. it only displays data for the days that have sales, but i want each day there, even if there are no sales. so u can see the ups and very downs (where there are No sales)
what do u think?
oh i am using CR9
-
Feb 20th, 2003, 11:23 AM
#2
Addicted Member
One way is to create an all_dates table in your db which has a single field day (date) and popuate it with every date in your potential range of sales dates. Then do a outer join in your crystal query to this table and you'll have included grouped dates that have no sales.
-
Feb 20th, 2003, 05:09 PM
#3
Thread Starter
Fanatic Member
ok done, it works. thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|