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
qmartiny
Helper III
Helper III

Sort by not working

Hello

 

I am trying to sort ascending by week number (see below)

I created a column with just the week number, set it as whole number, add it as a tooltip and use sort on it.
Still doesn't work - see week 10

 

Any ideas?

 

Thank you so much

 

qmartiny_0-1646994336286.png

 

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

Hi @qmartiny ,

 

Create a index column or rank column.

1.jpg

Add this column to tooltips.

Then sort the visual by this column.

2.jpg

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @qmartiny ,

 

Create a index column or rank column.

1.jpg

Add this column to tooltips.

Then sort the visual by this column.

2.jpg

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
HotChilli
Super User
Super User

"I created a measure" - you need to use the 'sort by column' feature. Add a column which reflects the sort order required for the x-axis fields (w1, w2), make it a number. 

Search 'sort by column' if you get into difficulty 

Yeah sorry I misspoke

 

It's already a column.

What's strange is when I use that column as continuous it works

 

qmartiny_0-1646996180258.png

 

But not categorical, maybe that's the issue? I need the 'W' in front of number ideally

qmartiny_1-1646996224274.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.