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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

Top Solution Authors