Forum Discussion
Anonymous
4 years agoNot applicable
Reference Measures for Count and Sum Functions
Hi, I need to replicate Excel functions like Countif/Sumif, but since I'm using measures, the CALCULATE(..,FILTER()) approach hasn't been working for me. My data starts off like this. Users (iden...
- 4 years ago
Hi Anonymous ,
Please try the following formula:
Sum of Above 10% = SUMX ( ALLSELECTED ( fact_Weekly[PS Number] ), [Above 10%] )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
4 years agoAnonymous , You need some group by to filter a measure
example
Countx(filter( values(fact_Weekly[Pyement_type]),[Above 10%]=1),[Pyement_type])
Here payment_type have been used to group data to check measure Above 10% =1