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 ) )
amitchandak
6 years agoSuper User
Total Spend = SUM ( Table[Spend] )
Measure = CALCULATE(COUNTX(FILTER(VALUES(Table[Material]),[Total Spend]>=1000),[Total Spend]))