cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bagger
Frequent Visitor

Making minus figures appear positive on axis

Hi all, I'm using a rank 0-1000 on the secondary Y axis. We want to invert the secondary Y axis only but it appears not possible in Power Bi. So I created a duplicate which does *-1. So the new field appears inverted on the chart, but all the numbers are negative. Is there a way to customise the figure and blank the minus sign? Everything I've tried (like trim) in the modelling options removes the minus figure and returns it to it's former state and isn't inverted on the chart. Thanks for reading!

1 ACCEPTED SOLUTION

Hi Tomas,

 

Thanks so much for your reply. The first idea almost worked as the values appear as 0_), 50_) etc. I removed that from your suggestion and viewed the entire range and it appears to be working perfectly!

View solution in original post

3 REPLIES 3
TomasAndersson
Solution Sage
Solution Sage

Hi!
You could try having a custom format on the measure so that negative values don't have a minus sign, e.g. #,##0_);#,##0_) as a custom format or something like that.

Another solution (maybe not what you're looking for) could also be to use percentile instead of rank. A different thing but would naturally have 0 % close to the bottom and 100 % at the top. 

Hi Tomas,

 

Thanks so much for your reply. The first idea almost worked as the values appear as 0_), 50_) etc. I removed that from your suggestion and viewed the entire range and it appears to be working perfectly!

Bagger
Frequent Visitor

As in I removed '_)'

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors