The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
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
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThank you for the response. I've tried using ROUND but it makes the graph look strange:
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.
User | Count |
---|---|
65 | |
62 | |
59 | |
54 | |
28 |
User | Count |
---|---|
181 | |
82 | |
66 | |
47 | |
44 |