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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
User5231
Helper II
Helper II

Power BI Graph Date Issues

I am having a heck of a time understanding why this isn't working. I have a measure that calculates a value for a time period. I am graphing that in a chart month over month. So I have a filter that fitler the last 6 months. In the 1st graph it shows the result, but you see I am missing March, which is 0, but i want to see a 0 there. However, if I check Show Items with no Data, it solves it but also shows all previous and futrure dates, regardless of the filter slicer. 

 

I tried adding +0 to the measure, which works for March, but it displays all the previosu month outside of the filter for some reason. This is pretty frustraining....

 

Past 6 month...

Pic1.png

 

This is with show items with no data / with the +0 in the measure. As you can see, the date slicer only affects which dates have data on them, not which dates get displayed. 

 

Pic2.png

The only way I have gotten it to work is using the hieharchy in the date slicer, but that it no good because I need the date to be dynamic. As you can see below, adding a relative filter on the visual will not affect it.Pic3.png

In all this seems to be an issue with hiearchy that I cannot figure out. Appreciate any help.

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@User5231 there is a great video on this, take  look at this and apply the logic in your report Show blank as zero – Unplugged #20 - SQLBI

 

Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
parry2k
Super User
Super User

@User5231 there is a great video on this, take  look at this and apply the logic in your report Show blank as zero – Unplugged #20 - SQLBI

 

Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

This worked. I made a tweak so that only the selected dates would return a 0, all else would show blank.

Pic4.png

Helpful resources

Announcements
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.