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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.