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
Elieekh17
Helper II
Helper II

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors