The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
82 | |
81 | |
37 | |
34 | |
32 |
User | Count |
---|---|
96 | |
79 | |
61 | |
51 | |
51 |