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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

I need to show highest values on bottom and lowest values on Top in a line chart.

Hi All,

         I have created a line chart using my data. I have taken the dates on X axis and took values in Y axis as shown in below picture. Here my requirement is to show highest values on bottom and lowest values on Top which i am not able to it on the chart as it is not showing sorting. When i remove the date on X axis and put some other text value i am able to sort the visual. Can we use any measue or calculated column for this? Can you guys help me out in this issue. Thanks in advance.5.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Create measure to convert all positive values to Negative values as shown in below measure

Invert_SFR = Weekly_SFR[SFR_Calc]*-1
Then click on that measure and goto Measure tools and there in format add this code = #,##;#,##
after adding this the negative sign will disappear and the highest values shows on bottom and lowest values on Top in a line chart as shown in below picture.4.PNG

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@Anonymous - I would start with a Top N filter. If that is not sufficient, use something like a Complex Selector to be very specific. https://community.powerbi.com/t5/Quick-Measures-Gallery/The-Complex-Selector/m-p/1116633#M534



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Create measure to convert all positive values to Negative values as shown in below measure

Invert_SFR = Weekly_SFR[SFR_Calc]*-1
Then click on that measure and goto Measure tools and there in format add this code = #,##;#,##
after adding this the negative sign will disappear and the highest values shows on bottom and lowest values on Top in a line chart as shown in below picture.4.PNG

Brilliant! Been racking my brain for weeks till I gave up.

FYI - this neat, simple solution is a great improvement to my bump chart (as instructed by Ruth Pozuelo):

Create a bump or slope chart in Power BI -D70, Curbal (Jun 26, 2019), https://www.youtube.com/watch?v=WW-0MIg8VG0

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.

Users online (437)