The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
78 | |
73 | |
38 | |
30 | |
28 |
User | Count |
---|---|
107 | |
100 | |
55 | |
49 | |
45 |