Forum Discussion
Brian_Hunt
4 years agoFrequent Visitor
Measure calculation for subtotal based on sub-hierarchy grouping on condition
I have a column of data that counts orders by employee, and another that counts if the order has been completed. I created a measure that calculates the completion rate and dropped all this in a mat...
- 4 years ago
Hi, Brian_Hunt ;
You could create measures as follow:
teams at >50% = CALCULATE(COUNT('Table'[Level3]),FILTER('Table',[Complete rate]>=0.5))of teams >50% = IF(ISINSCOPE('Table'[Level3]),BLANK(), [teams at >50%]/COUNT('Table'[Level3]))The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
4 years agoCommunity Support
Hi, Brian_Hunt ;
You could create measures as follow:
teams at >50% = CALCULATE(COUNT('Table'[Level3]),FILTER('Table',[Complete rate]>=0.5))of teams >50% =
IF(ISINSCOPE('Table'[Level3]),BLANK(),
[teams at >50%]/COUNT('Table'[Level3]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.