I have a report that I'm aggregating by PM, Ctrl Job, and Job number by row, and Year, Qtr, Month by column... looks like this:
Jan Feb
PM Cost Billed Cost Billed
Bob 500 1000 200 400
CtrJobNum1 100 200 100 200
Jobnum1a 50 100 100 200
JobNum1b 50 100 0 0
CtrlJobNum2 400 800 100 200
JobNum2a 400 800 100 200
Jim
CtrlJobNum3
I'm trying to get a count of JobNumber (2nd indent in) but since there are many duplicates in the raw data, I get wrong counts. I need to count distinct. Any ideas on that? I can get a good count from the database if I remove the post date but I need the date so I can do the filtering/grouping by time periods. So I'm not sure If I can do it through the initial query from the db or in the dataconnection in excel or a calculated field in the pivot table. I'm willing to do whichever.
Jan Feb
PM Cost Billed Cost Billed
Bob 500 1000 200 400
CtrJobNum1 100 200 100 200
Jobnum1a 50 100 100 200
JobNum1b 50 100 0 0
CtrlJobNum2 400 800 100 200
JobNum2a 400 800 100 200
Jim
CtrlJobNum3
I'm trying to get a count of JobNumber (2nd indent in) but since there are many duplicates in the raw data, I get wrong counts. I need to count distinct. Any ideas on that? I can get a good count from the database if I remove the post date but I need the date so I can do the filtering/grouping by time periods. So I'm not sure If I can do it through the initial query from the db or in the dataconnection in excel or a calculated field in the pivot table. I'm willing to do whichever.