Forum Discussion

abhishekpati86's avatar
abhishekpati86
Helper III
9 years ago
Solved

Sorting conditional column values in a slicer

Hi All,

 

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

 

 

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 

  • 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.

     

     

     

     

     

2 Replies

  • Vvelarde's avatar
    Vvelarde
    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.

     

     

     

     

     

    • abhishekpati86's avatar
      abhishekpati86
      Helper III

      Hi Vvelarde,

       

       

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

       

      Regards,

      Abhishek