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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
nsadams87xx
Helper III
Helper III

Handling line graph with dates and results restriction

Hey everyone,

 

I have a line graph that has dates on the X axis.  The data I'm reporting on started in 2018 which I understand Power BI is trying to create a full calendar to accommodate proper handling of dates.  But my user doesn't want to see these dates that don't have any data.  However there are cases where zero actually means a zero percent score.  I have a chart graph that shows different healthcare provider's scores so if a user clicks on that provider but they have scores of zero, that should still reflect on the line graph.  The visualization filters I have in place are going to disrupt that.  Anyone have any ideas on how to appropriately handle this?  Screenshots...

 

 

Not acceptable:filter 2.JPG

 

 

 

Need this but also to accept zeros.  I've tried filtering out "blanks" and that doesn't work either.  I'm guessing because the DIVIDE() I'm using to make these percentage calculations has a + 0 after it but then my chart also shows blanks.  There are some cases where the DIVIDE is removing zeros as a result that should actually be zero.

filter 1.JPG

 

When my DIVIDE measures have + 0 at the end of them

filter 3.JPG

 

With DIVIDE measure without + 0 but the user wants to see 0%

filter 4.JPG

2 REPLIES 2
Anonymous
Not applicable

Hello-

You could always try adding .000001 to every value. That way it doesn’t affect the actual scoring, but it will make a number (0.0) appear when entered.

Jared

Interesting idea, I'll give it a shot.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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