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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Sort graph based off personal preference

Hello all,

 

I have a bar graph I want to sort based off my personal preference not desc or asc

 

is this possible? here is my sample file with the graph I want to do a custom sort on pbix

1 ACCEPTED SOLUTION
v-zhenbw-msft
Community Support
Community Support

Hi @Anonymous ,

 

There are two ways to sort that you can refer.

 

1. The first way is sorted by existed column, such as name or value.

 

Sort 1.jpg

 

2. The second way is to create a new dim table that contains the column that you want to sort, and add a numeric column to sort.

By the way, we need to create a relationship between two tables.

 

Sort 3.jpg

 

Sort 2.jpg

 

Then we can use the Table(2)’s name to show the data, and sort by column [Sort].

 

Sort 4.jpg

 

If it doesn’t meet your requirement, could you please share the pbix again? Because we don’t have a permission to open it.

You can also upload your files to OneDrive For Business and share the link here.

 

BTW, pbix as attached.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-zhenbw-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?

Could you please provide more details or expected result about it If it doesn't meet your requirement?

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-zhenbw-msft
Community Support
Community Support

Hi @Anonymous ,

 

There are two ways to sort that you can refer.

 

1. The first way is sorted by existed column, such as name or value.

 

Sort 1.jpg

 

2. The second way is to create a new dim table that contains the column that you want to sort, and add a numeric column to sort.

By the way, we need to create a relationship between two tables.

 

Sort 3.jpg

 

Sort 2.jpg

 

Then we can use the Table(2)’s name to show the data, and sort by column [Sort].

 

Sort 4.jpg

 

If it doesn’t meet your requirement, could you please share the pbix again? Because we don’t have a permission to open it.

You can also upload your files to OneDrive For Business and share the link here.

 

BTW, pbix as attached.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

az38
Community Champion
Community Champion

@Anonymous 

what is custom sort?

if you need sort by other column value - try this technique https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors