Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone,
I’ve been working with Power BI for several months now, but I’ve never faced an issue as frustrating as this one.
In my visuals, there are cells displaying blanks, and none of my DAX measures to replace those blanks with 0 seem to work. For example, I’ve tried using COALESCE(COUNTROWS(Sheet1), 0) + 0 and IF(ISBLANK(COUNTROWS(Sheet1)), 0, COUNTROWS(Sheet1)), but the blanks persist.
I’ve attached a sample file for reference and would really appreciate it if someone could guide me on resolving this issue. Thank you!
https://drive.google.com/file/d/1PHmj3qBqhn_cKe0Nu4lPeRe1MkEm-N6R/view?usp=sharing
Solved! Go to Solution.
@baby_cabbage - This is because everything is from the same table, and you're trying to add a 0 into a row that does not exist, so the visual cannot show the 0.
To make this work you need to create a calculated table that stores your dates, a 0 can then be put against this because the date exists in a different table.
In my attached file you will see how I have acheived this. You will also notice that my visual on the left now uses the date from the new table and works, where as the table on the right uses the old date column and the measure does not work as desired.
If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!
@baby_cabbage - This is because everything is from the same table, and you're trying to add a 0 into a row that does not exist, so the visual cannot show the 0.
To make this work you need to create a calculated table that stores your dates, a 0 can then be put against this because the date exists in a different table.
In my attached file you will see how I have acheived this. You will also notice that my visual on the left now uses the date from the new table and works, where as the table on the right uses the old date column and the measure does not work as desired.
If I answered your question please mark my post as the solution, it helps others with the same challenge find the answer!
omg this works! Thank you!
@baby_cabbage It's almost certainly an auto-exist issue. Go here and do this:
If you don't see this option, you may need to turn it on in Preview features (because everything is a preview feature now).
Thank you, Greg! I really appreciate your help, but sadly, this didn’t quite solve the issue.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |