I have a report that looks like this:
However that's not correct. Because OHcosts are not a measurement, but a dimension, I want to total just the value singly. So it should look like this:
So while billed is correct, OHcosts are not. It can't be helped that the ohcosts are dimension attribute, but is there a way to sum them? Cdec lets me sum them but sums it up for every row there is for each customer. Sum distinct isn't available... is there a way?
Code:
Fullname OHCOSTS Customer Billed
John 5000 Cutco 500
BigCorp 400
SubTotal 10000 900
Bill 4000 MickeyD 4000
JimBob's 500
Subtotal 8000 4500
Grandtotal 18000 5400
However that's not correct. Because OHcosts are not a measurement, but a dimension, I want to total just the value singly. So it should look like this:
Code:
Fullname OHCOSTS Customer Billed
John 5000 Cutco 500
BigCorp 400
SubTotal 5000 900
Bill 4000 MickeyD 4000
JimBob's 500
Subtotal 4000 4500
Grandtotal 9000 5400
So while billed is correct, OHcosts are not. It can't be helped that the ohcosts are dimension attribute, but is there a way to sum them? Cdec lets me sum them but sums it up for every row there is for each customer. Sum distinct isn't available... is there a way?