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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
ConnieMaldonado
Responsive Resident
Responsive Resident

SORT the way fields appear in a table

I have a table with several values that appear (see image) based on a field called "Measure" - e.g., BegPending, Cancelled, Closed, etc.  The values appear in alphabetical order, but I need to specify the order.  What's the best way to do that.  If I create a sort field, how do I indicate that I want the values to appear based on that field?  Thanks!

 

Metric Sort.PNG

Measure Screen Shot.PNG

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @ConnieMaldonado @,

 

First you need to create a simple dimension table based on the worktype.

Then you assign the order to each worktype.

test_sort.PNG

Create a 1-1 relationship between two tables and put the worktype in the new table into the matrix.

Sort the worktype by the Custom sort.

test_sort2.PNG

 

 

 

Best Regards,
Liang
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-lianl-msft
Community Support
Community Support

Hi @ConnieMaldonado @,

 

First you need to create a simple dimension table based on the worktype.

Then you assign the order to each worktype.

test_sort.PNG

Create a 1-1 relationship between two tables and put the worktype in the new table into the matrix.

Sort the worktype by the Custom sort.

test_sort2.PNG

 

 

 

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

Mariusz
Community Champion
Community Champion

Hi @ConnieMaldonado 

 

Try this video.

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

The video helped as I learned something new, but it didn't solve the problem.  I created the table with the "Order" field, but unless I add it to the table, I can't sort by it.  If I add "Order", of course it shows the numeric ordering rather than the name.  I could rename the measures to the 1 BegPending, 2 Created, 3 Closed and so on, but I was trying to avoid that.

 

Image 3.PNG

Image 4.PNG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.