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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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