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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Custom Sort Axis

Hi all, i have a table of customer satisfaction as below

qhpowerbi_0-1649657622257.png

I would like to build a bar chart of count of response per question and its response detail as below;

qhpowerbi_1-1649657726202.png

 

my question is, how can I sort the X-axis, so that it based on order as below
1. Very Satisfied
2. Satisfied
3. Neutral
4. Dissatisfied
5. Very Dissatisfied

Thank you

1 ACCEPTED SOLUTION
Aditya_Meshram
Solution Supplier
Solution Supplier

Hi @Anonymous 
you can make an index table with these values. 
Something like

Index Response
1 Very Satisfied
2 Satisfied
3 Neutral
4 Dissatisfied
5 Very Dissatisfied

  then click on Response column and sort it by using the Sort By section and clicking on Index column

Aditya_Meshram_0-1649660743865.png

then you can drag this column in the axis of the bar chart.

View solution in original post

5 REPLIES 5
Aditya_Meshram
Solution Supplier
Solution Supplier

Hi @Anonymous 
you can make an index table with these values. 
Something like

Index Response
1 Very Satisfied
2 Satisfied
3 Neutral
4 Dissatisfied
5 Very Dissatisfied

  then click on Response column and sort it by using the Sort By section and clicking on Index column

Aditya_Meshram_0-1649660743865.png

then you can drag this column in the axis of the bar chart.

how do you stop the auto stop on the visual level ? 

22LACMT_0-1672856276050.png

 

Anonymous
Not applicable

Thanks @Aditya_Meshram for your answer. What I did id unpivot the question column and create other response table to sort the axis. Thanks again!

No problem 🙂

after I do this.  the sort feature within the visual keeps trying to resort and wont allow my custom sort to show.  how do disable this auto sort within the visual that is overriding my custom sort? 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.