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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
abhishekpati86
Helper III
Helper III

Sorting conditional column values in a slicer

Hi All,

 

I have the below conditional column created based on the range of values I have.

 

Capture.JPG

 

However the values are not sorted and it doesn't sort even when I apply the sort by option on the righ top corner of the chiclet slicer box. 

 

Can you help me so that I can sort the values in the slicer box to -

 

<0.01

<0.1

<10 

<100 

>100 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@abhishekpati86

 

A solution is create a table with this range and a extra column with the order.

 

Like this:

 

ABS ASP DIFF RANGE  ORDER

0           1

<0.01    2

......

 

Next select  ABS ASP DIFF RANGE Go to modeling and sort by Column Order

 

After this create a relationship between this and your table.

 

 

 

 

 




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@abhishekpati86

 

A solution is create a table with this range and a extra column with the order.

 

Like this:

 

ABS ASP DIFF RANGE  ORDER

0           1

<0.01    2

......

 

Next select  ABS ASP DIFF RANGE Go to modeling and sort by Column Order

 

After this create a relationship between this and your table.

 

 

 

 

 




Lima - Peru

Hi @Vvelarde,

 

 

Thanks, I created another conditional column based on that it worked now.

 

Regards,

Abhishek 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.