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 All
I need a Dax Funtion that will Calculate Distinct Count of Account Name that are Closed
Stage Account Name
Closed | police mutual |
Open | Adi Group Ltd |
Open | NS Clarke Transport Limited |
Closed | Hepworth Fabrication |
Closed | Vacuum Furnace Engineering Ltd |
Open | Thermoseal |
Open | Purity Brewing Co Limited |
Open | Brockhouse Group Ltd |
Open | Vanguard Foundry Ltd |
Open | Salop Leisure Holdings Ltd. |
Open | Lake Chemical & Minerals Ltd |
Closed | police mutual |
Closed | police mutual |
Closed | Elliott Nash Limited |
Solved! Go to Solution.
Hi,
Please check the below picture.
It is for creating a measure.
Expected result measure: =
CALCULATE( DISTINCTCOUNT(Data[Account Name]), Data[Stage] = "Closed")
Hi,
Please check the below picture.
It is for creating a measure.
Expected result measure: =
CALCULATE( DISTINCTCOUNT(Data[Account Name]), Data[Stage] = "Closed")
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
41 |