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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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