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
Anonymous
Not applicable

Sorting chart x-axis by Feet and Inches

Hi,

 

I am having trouble sorting the x axis by human height.

 

 Index.PNG

I have indexed the table but the visualisation displays it in the wrong order.

 

Wrong order.PNG

Is there a way to sort this, preferably keeping the visualisation in feet and inches rather than meters.

 

Thanks in advance 

 

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

In data view, you should change the sort by option from the default setting to "Height Index".

1.PNG2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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

7 REPLIES 7
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

In data view, you should change the sort by option from the default setting to "Height Index".

1.PNG2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-yulgu-msft

 

Thank you this worked perfectly.

AlB
Super User
Super User

Hi @Anonymous

 

What do you mean in the wrong order? Do you want the 7-6 to appear the first on the left instead?

Have you tried to sort by Height and descending on the visual? 

Anonymous
Not applicable

@AlB

 

The graph displays 5-10 5-11 5-9 6-0 6-1 6-10 6-11 6-2

 

I would like it to display 5-9 5-10 5-11 6-0 6-1 etc in a actual height order.

 

I have tried sorting by height and descending and this is what happens.

 

 

@Anonymous

I see. Then you need to update the Height Index to reflect that sorting

Anonymous
Not applicable

@AlB

 

Updated Index.PNG

 

 

 

 

This is the index I am using and the order is still displayed incorrectly.

@Anonymous

 

Have you used the 'Sort by Column' feature in the Modelling pane?

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.