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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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