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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tylerbostedt
New Member

Sort Text Data in Visual from Most to Least

I am developing a dashboard that will show the top skills our training program is each row is a specific employee with the skills. When I look at the table in Power Bi, it looks something like this:

tylerbostedt_0-1731693255252.png

 

When I show it as a bar chart, it shows something like this. I tried to sort the axis by the skills, but it will only sort is alphabetically.

tylerbostedt_1-1731693956066.png

I am looking to sort the axis based on the total sum of the skills. For example, AI for Bussiness should be #1 and so on. 

 

1 ACCEPTED SOLUTION

@tylerbostedt You can unpivot the six skill columns like below example and display the values in a bar chart with Attributes as a legend

 

JaiRathinavel_0-1731699665090.png

After Unpivotting table looks like this, now load this table.

JaiRathinavel_1-1731699694595.png

 

Front end Bar visual:

JaiRathinavel_2-1731699781066.png

 

Did I answer your question ? If yes, please mark my post as a solution.

 

Thanks,

Jai 🙂




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

Proud to be a Super User!





View solution in original post

4 REPLIES 4
Jai-Rathinavel
Super User
Super User

Hi @tylerbostedt ,

 

You will find an option to sort the bar chart visual based on a aggregated field. Have you tried that ? Attaching a refrence image below. Here I have sorted count of products in descending order.

 

JaiRathinavel_0-1731694867255.png

 

Did I answer your question ? If yes, please mark my post as a solution.

 

Thanks,

Jai 🙂




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

Proud to be a Super User!





I was only able to sort the axis by the count of one of the columns, this is the list: 

tylerbostedt_2-1731695247885.png

 

 

This was the result: 

tylerbostedt_1-1731695206358.png

 

@tylerbostedt You can unpivot the six skill columns like below example and display the values in a bar chart with Attributes as a legend

 

JaiRathinavel_0-1731699665090.png

After Unpivotting table looks like this, now load this table.

JaiRathinavel_1-1731699694595.png

 

Front end Bar visual:

JaiRathinavel_2-1731699781066.png

 

Did I answer your question ? If yes, please mark my post as a solution.

 

Thanks,

Jai 🙂




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

Proud to be a Super User!





Thank you so much!!!!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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