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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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

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
v-xinruzhu-msft
Community Support
Community Support

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 @v-xinruzhu-msft , 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

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors