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! It's time to submit your entry. Live now!
I have a very simple table from excel
| Animal | Food |
| Tiger | Fish |
| Elephant | Veggies |
| Bear | Fish |
| Monkey | |
| Tiger | Combo |
| Elephant | Fish |
| Bear | |
| Monkey | Veggies |
| Tiger | |
| Bear | Fish |
| Tiger |
Using a DistinctCount Measure I am using this
Solved! Go to Solution.
Try this measure:
DC-Animals =
SUMX (
SUMMARIZE ( Sample2, Sample2[Animal], Sample2[Food] ),
CALCULATE ( DISTINCTCOUNTNOBLANK ( Sample2[Animal] ) )
)
Proud to be a Super User!
Try this measure:
DC-Animals =
SUMX (
SUMMARIZE ( Sample2, Sample2[Animal], Sample2[Food] ),
CALCULATE ( DISTINCTCOUNTNOBLANK ( Sample2[Animal] ) )
)
Proud to be a Super User!
Perfect!!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 130 | |
| 128 | |
| 59 | |
| 45 | |
| 45 |