Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
samuelhoward
Frequent Visitor

Problem with my DAX Count

In my data I have two columns. When I use the following "Count" DAX for either column, I get 8 instead of 4. I think it is counting the number of blanks. How can I go about correcting this?

Superiorcount = count('Table'[Superior])



samuelhoward_0-1729267469342.png

 

 

I am unable to share my .pbix file as the option on this forum does not seem to exist.



1 ACCEPTED SOLUTION
samuelhoward
Frequent Visitor

The solution is to replace all the blanks with the word "null"

View solution in original post

1 REPLY 1
samuelhoward
Frequent Visitor

The solution is to replace all the blanks with the word "null"

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.