Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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")
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 20 | |
| 19 |