Forum Discussion
JYPARK
7 years agoFrequent Visitor
Sum Group by type
Hi everyone,
Seeking for assistance. I am trying to sum up the number of failure types. However, I am not sure how I can do this.
5 Replies
- CmcmahanResident Rockstar
You're just trying to count how many distinct item_failure_types you have? That's easy enough:
FailureTypes = DISTINCTCOUNT('Table 1'[item_failure_type]) - v-xuding-msftCommunity Support
Hi JYPARK ,
You could try the formula if you want to count the number of failure types based on item id.
Measure = CALCULATE(DISTINCTCOUNT('Table '[failure types]),ALLEXCEPT('Table ','Table '[item id]))Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.