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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
eduazzolin567
New Member

Showing 0 in a graph without showing more than its being filtered

I have this graph filtered by the year 2022 with some lines stoping at the middle because the rest is blank

Sem título.png

I want to show the blank data as zeroes, but if I try something like a measure "if(isblank(value), 0, value)" or "value + 0", power BI brings all the other years and ignores my filter.
Sem título2.jpg

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

Does this measure work?

Measure = coalesce([your measure],0)

If not, then share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ritaf1983
Super User
Super User

Hi @eduazzolin567 

Try to change your X-Axis to continues.

If it won't help attach a link for a dummy file to work with.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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