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.
https://drive.google.com/file/d/1MKNxxfU5nuhIBZvwR8BWePVF2QAJOosh/view?usp=sharing
plz see the attached link to the dummy data with expected result
I have measures which calculate the distinct count
chn group(AN,GN,DN,EN,SN) | unique count (Active brands) | result (inactive brands) |
AN | 192 | 341-192=149 |
GN | 241 | 341-241=100 |
DN | 212 | 341-212=129 |
EN | 139 | 341-139=202 |
SM | 140 | 341-140=202 |
other | ||
Total | 315 |
Solved! Go to Solution.
@tabish , Diff from total measure
diff =CALCULATE(DISTINCTCOUNT([Brand]), FILTER(allselected(Table),[Chnl] in{ "AN" ,"GN" ,"DN" , "EN" , "SN"}) ) -
CALCULATE(DISTINCTCOUNT([Brand]), FILTER(Table,[Chnl] in{ "AN" ,"GN" ,"DN" , "EN" , "SN"}))
@tabish , Diff from total measure
diff =CALCULATE(DISTINCTCOUNT([Brand]), FILTER(allselected(Table),[Chnl] in{ "AN" ,"GN" ,"DN" , "EN" , "SN"}) ) -
CALCULATE(DISTINCTCOUNT([Brand]), FILTER(Table,[Chnl] in{ "AN" ,"GN" ,"DN" , "EN" , "SN"}))
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
32 | |
14 | |
10 | |
10 | |
9 |