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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Line Chart showing spikes because of decimal values

ST94_0-1690206928385.png

To create this graph, I used a simple division using DAX, just a numerator and denominator and then formatted it to 2 decimal places percentage. The problem is the percentage value is so high (99.99x%) that it's showing up on the graph as a spike. I want it to be a straight line and not consider these spikes because I have set it as 2 decimal places. 

https://community.fabric.microsoft.com/t5/Desktop/Line-Chart-showing-spike-due-to-decimal-values/td-... - This question is very similar to my issue but I can't simply change the minimum and maximum values of the y axis because this graph uses a field parameter to switch between different measures, showing a different line. If I manually set a min and max value, the other graphs won't look as good because the setting seems to affect the graph as a whole, regardless of the current field selection from the field parameter. Is there a way to make the graph a straight line without affecting the other fields?

 

Thank you; any help is appreciated.

2 REPLIES 2
MFelix
Super User
Super User

Hi  , 

Have you tried wrapping you measure in a ROUND syntax something similar to:

 

= ROUND(Divide(Table[Column], Table[Column]),2

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português





Anonymous
Not applicable

Thank you for the response. I've tried using ROUND but it makes the graph look strange:

ST94_0-1690883378576.png

Is there a way to limit the graph to 100% (have the line appear at the top of the graph instead of the middle) without using the max/min setting for the y axis? I can't use those because this graph uses a field parameter, so that setting makes the other fields difficult to read; basically, I want to set the y axis max/min for only 1 field.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.