cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Turn explanatory labels upside down in stacked bar chart

Hi,

 

As you can see, the explanatory labels in the right side is in the upper chart, but of course I want them to start in the buttom instead, so it follow the data it shows. I want to turn the labels upside down.

 

Udklip.PNGCan anyone help?

 

Thanks in advance

 

Jonas Denmark. 

3 REPLIES 3
Helper II
Helper II

It try to post again. Somehow it failede before.

 

Thanks for both your answers. As I read it I have to make a calculatede column where I give each "type" its own value, and then I can sort it by that. This is to comprehensive work compared to the value. So I can't say if any of your solutions will work. Thanks though.

 

P.s I cant make it decending, the buttons is grey.

 

Best regards Jonas

Super User IV
Super User IV

@JonasB , you have to create desc rank on this column and then use it

 

column 1 = [column]

Rank = rankx(all(Table),[column],,desc,dense)

 

Sort column1 or Rank and use column 1 is your visual

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Super User IV
Super User IV

@JonasB Can you set the sorting for that to descending? Or you may have to create a numeric "Sort By" column in Power Query for example.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors