Forum Discussion
Anonymous
3 years agoNot applicable
Distinct Count with text column condition
Hi, How can I count the Distinct number of cases where the count of "Yes"is > 1 Case no Yes Column 12 12 12 Yes 13 13 Yes 13 Yes Count of Cases = CAL...
- 3 years ago
Hi,
Please check the below picture and the attached pbix file.
expected result measure: = COUNTROWS ( FILTER ( DISTINCT ( 'Table'[Case no] ), CALCULATE ( COUNTROWS ( FILTER ( 'Table', 'Table'[Yes Column] = "Yes" ) ) ) > 1 ) )
amitchandak
3 years agoSuper User
Anonymous , have these two measures
measure 1= calculate(count('Table'[case no]),FILTER('Table','Table'[Yes Col] = "Yes"))
Measure
count GT 1 = countx(values('Table'[case no]), if([measure 1]>1, [case no], blank()))
- Anonymous3 years agoNot applicable
Thankyou for replying.