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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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