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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Show 0 values but only for a filtered date range

Hi all, I would like to displayed 0 values for a specific time frame.

The graph above is what I have with missing values, the bottom one is the same graph but with the option 'show 0 value selected' BaronSdG_0-1689689904933.png

BaronSdG_1-1689690019567.png

The problem is that I have a filter for that page, and it's applied to show only items in this year, but instead the graph shows the data till the end of time... (2020). Can you help me to set the filter date properly? or what could be the problem?

BaronSdG_2-1689690085926.png

 

1 ACCEPTED SOLUTION
miTutorials
Super User
Super User

3 REPLIES 3
Anonymous
Not applicable

Hi @miTutorials , any update on the second graph? I tried to create the same countrows measure but in this case it's not working 

 

Before applying the countorws

BaronSdG_0-1690804481214.png

 

After applying the countrows 

BaronSdG_1-1690804513591.png

 

miTutorials
Super User
Super User

I hope the below tutorial will help address your problem.

 

Months in Slicer Appearing when you don't have any data ? PowerBI Tutorial - YouTube

Anonymous
Not applicable

OH MY GOD YES!!! @miTutorials 

 

THANK YOU!!!!!!!

 

This works great for the bar charts BUT I still have issues for the line chart! The top graph works, but the bot graph is not. It has data from another table, so I used new measure countrows taken from that specific table

BaronSdG_0-1689693605440.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.