Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Team,
Can some one please help me to get distinct count of "column A" if column b contains text as "positive".
Please find sample data below . I am unable to find formula.
Column A Column B
a positive
a positive
a positive
a positive
a positive
b Negative
b Negative
b Negative
b Negative
b Negative
b Negative
c Positive
c Positive
c Positive
c Positive
c Positive
c Positive
Solved! Go to Solution.
try
= CALCULATE(DISTINCTCOUNT('Table'[Column A]), 'Table'[Column B]="positive")
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 23 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |