Forum Discussion
caiying100126
6 years agoFrequent Visitor
calculate
I have a table named "spend data" with different Material numbers. For each material number, there are several spends. I want to sum up the total spend for each material number and count how man...
- 6 years ago
caiying100126 Add following measures
following # Material over amount measure will give you the count.
Total Spend = SUM ( Table[Spend] ) # Material over amount = COUNTX ( VALUES ( Table[Material] ), IF ( [Total Spend] > 100000, 1 ) )
parry2k
Super User
6 years agocaiying100126 Add following measures
following # Material over amount measure will give you the count.
Total Spend = SUM ( Table[Spend] )
# Material over amount =
COUNTX ( VALUES ( Table[Material] ), IF ( [Total Spend] > 100000, 1 ) )