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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
BaronSdG
Helper V
Helper V

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
BaronSdG
Helper V
Helper V

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

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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