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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.