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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.