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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

SortBy Column ... Driving me Crackers!

Sometimes you just need a helping hand from someone else before you go off and do something stupid ... like buy Tableau!

I have two user defined tables 'Metrics' & 'ShowAs' with SortBy Column set to 'Index' (integer / whole number in both cases)

On report view 'ShowAs' slicer sorts in index order (i.e. non-alpha which is what I want) ... can't get 'Metric' slicer other than ascending or descending alpha. Messed with all possible combinations of Sort Axis. Both slicers work i.e. data on card updates as expected {Index of Metric shows as Text on screenshot - changed it to INT & no difference}. Saved & reloaded, Ctrl-Alt-Del, shutdown, stooded on one leg with my finger in left ear, and then right ear ... and all to no avail 😞

iand66_0-1669324144584.png

Worked OK last time I did it (about 12 months ago)

 

iand66_1-1669324775645.png

 

PBI desktop version is 2.110.1161.0 (22.10) (x64)

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Please use the sort by column feature:

Mikelytics_0-1669326705347.png

 

Mikelytics_1-1669326742695.png

 

Best regards

Michael

-----------------------------------------------------

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

3 REPLIES 3
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Please use the sort by column feature:

Mikelytics_0-1669326705347.png

 

Mikelytics_1-1669326742695.png

 

Best regards

Michael

-----------------------------------------------------

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

HI @Anonymous 

 

Did it solve your challenge?

 

If yes please mark my post as solution.

 

Best regards

Michael

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!
Anonymous
Not applicable

Hi Mike, thank your for the response. As mentioned in the original post "I have two user defined tables 'Metrics' & 'ShowAs' with SortBy Column set to 'Index'" ... so have already been down all the obvious routes. Fortunately, Rico Zhou has already accepted your idea as a solution on my behalf. Now all I have to do is figure out how to get PBI to do what I want, in the way that it used to (see above screenshot)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.