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 September 15. 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 |
---|---|
65 | |
56 | |
53 | |
49 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |