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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Elieekh17
Helper I
Helper I

Sorting by a column error

Hello Community,

 

Kindly help in the below error while sorting a text column with a number column:

Elieekh17_0-1732027736583.png

 

Thank you,

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Elieekh17 

After testing, you don't need to sort it by the number, when you create the field paramater, the text number will order by the Parameter Order automatcially, so you don't need to order it, you can refer to my sample. 

I create the following paramater.

vxinruzhumsft_0-1732172651766.png

Then put it to the slicer, it will keep the paramater order.

vxinruzhumsft_1-1732172671317.png

Best Regards!

Yolo Zhu

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

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Elieekh17 ,

1.If you  create the number column by the text column, it may cause some problem,can you provide the error picture that you have faced or the code that hide the private meassage.

2.Please check that if you have some error in power query, it may also affect it.

 

Best Regards!

Yolo Zhu

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

hello @Anonymous , thank you for your reply, in fact I created fields parameters with number columns which starts from 0 till 39 ( 40 fields) but when I sort the parameters names by the order (the numeric column) I got the error shared above

Anonymous
Not applicable

Hi @Elieekh17 

After testing, you don't need to sort it by the number, when you create the field paramater, the text number will order by the Parameter Order automatcially, so you don't need to order it, you can refer to my sample. 

I create the following paramater.

vxinruzhumsft_0-1732172651766.png

Then put it to the slicer, it will keep the paramater order.

vxinruzhumsft_1-1732172671317.png

Best Regards!

Yolo Zhu

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

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors