Forum Discussion
Retrieving last count recorded
- 9 years ago
Hi mlleverino
Here are three calculated measures that might be getting closer. I don't think I fully understand the Tool Count measure but this is what I have for your sample data. It might only be a slight tweak away from what you need.
Tool Count = CALCULATE( DISTINCTCOUNT('Table1'[Amount]), 'Table1'[Account Type] ="Systems" ) Revenue = CALCULATE( SUM('Table1'[Amount]), 'Table1'[Account Type] ="Revenue" ) Result = DIVIDE([Revenue],[Tool Count])
Hi mlleverino
Thanks for that. In this case is the BU name the same as the Tool Count?
I'm guessing the Amount column = Revenue
Account Type - Systems = tool count for that reporting period and for that BU
Account Type - Revenue = revenues for that reporting period and for that BU.
if I were to look at a one BU for one reporting period, it will have 1 tool count entry and 1 revenue entry.
- Phil_Seamark9 years agoMicrosoft Employee
Hi mlleverino
Here are three calculated measures that might be getting closer. I don't think I fully understand the Tool Count measure but this is what I have for your sample data. It might only be a slight tweak away from what you need.
Tool Count = CALCULATE( DISTINCTCOUNT('Table1'[Amount]), 'Table1'[Account Type] ="Systems" ) Revenue = CALCULATE( SUM('Table1'[Amount]), 'Table1'[Account Type] ="Revenue" ) Result = DIVIDE([Revenue],[Tool Count])