I'm trying to create a report on customer usage. Basically, the report will have Time Frame, Jurisdiction, Usage, and a few other items.
Here's an example:
The problem comes in when an account does not have both jurisdictions or all time frames. It might be something like this:
What I need to do is make sure there is an entry for each possibility, even if it is just 0.
Like this:
I would think this would be fairly easy to do, but I couldn't figure it out.
Thanks for any help you can provide!!!
Doug
Here's an example:
Code:
Time Frame Jurisdiction Usage ...
Current 1 123
Current 2 456
31-60 1 234
31-60 2 345
61-90 1 234
61-90 2 345
...
The problem comes in when an account does not have both jurisdictions or all time frames. It might be something like this:
Code:
Time Frame Jurisdiction Usage ...
Current 1 123
61-90 1 234
61-90 2 345
...
What I need to do is make sure there is an entry for each possibility, even if it is just 0.
Like this:
Code:
Time Frame Jurisdiction Usage ...
Current 1 123
Current 2 0
31-60 1 0
31-60 2 0
61-90 1 234
61-90 2 345
...
I would think this would be fairly easy to do, but I couldn't figure it out.
Thanks for any help you can provide!!!
Doug