Forum Discussion
3cdoug
3 years agoRegular Visitor
Reference instances within a table
Cert 1 = IF('Submitted Certs'[Cert] = "Cert 1", DISTINCTCOUNT('Submitted Certs'[Cert]))
I want to calculate all the instances in which "Cert 1" occurs, i keep getting the wrong number, any help?
- Anonymous3 years ago
Hi 3cdoug ,
I think you can add filter in your code.
Count = CALCULATE ( DISTINCTCOUNT ( 'Submitted Certs'[Cert] ), FILTER ( 'Submitted Certs', 'Submitted Certs'[Cert] = "Cert 1" ) )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi 3cdoug ,
I think you can add filter in your code.
Count = CALCULATE ( DISTINCTCOUNT ( 'Submitted Certs'[Cert] ), FILTER ( 'Submitted Certs', 'Submitted Certs'[Cert] = "Cert 1" ) )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.