Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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")
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 21 | |
| 18 | |
| 11 |
| User | Count |
|---|---|
| 58 | |
| 55 | |
| 42 | |
| 36 | |
| 34 |