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.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 102 | |
| 56 | |
| 39 | |
| 31 |