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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aak7360
Regular Visitor

line chart not representing zero values

Hi All, 

 

I have created a line chart and Legend as a year. So, as per the requriment it was showing the correct results. But the problem is whenever the values are zero that it was not ploting the lines (1st image). I need the output like 2nd image.  Can you please help me in this regard.

Current VisalizationCurrent VisalizationDesired outputDesired output

 

1 ACCEPTED SOLUTION
v-caliao-msft
Employee
Employee

@aak7360,

 

But the problem is whenever the values are zero that it was not ploting the lines (1st image).

Please double check if there have records or the values are 0? Generally, the records with 0 values will be ploting on the line.
Capture.PNG

 

Regards,

Charlie Liao

View solution in original post

5 REPLIES 5
v-caliao-msft
Employee
Employee

@aak7360,

 

But the problem is whenever the values are zero that it was not ploting the lines (1st image).

Please double check if there have records or the values are 0? Generally, the records with 0 values will be ploting on the line.
Capture.PNG

 

Regards,

Charlie Liao

Anonymous
Not applicable

Sorry, I just read this topic because my issue is the same, I checked my data and found I don't have data, which I'd like to consider like if I have 0. Adding 0 at the end of the column doesn't solve my problem, so what can I do??

 

Thank you very much

Vvelarde
Community Champion
Community Champion

@aak7360

 

Hi.

Add a +0 to the Measure YTD




Lima - Peru
Anonymous
Not applicable

This worked good thanks

add and subtract the total measure from the red line measure

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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