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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors