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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.