Forum Discussion
Anonymous
3 years agoNot applicable
Sorting Calculated Column
Hi All, Is there a way to sort the legends here in the below order: <10K , $10K-50K , $50K-100K, >$100K P.s : I have created the calculated column for this visual. ...
- 3 years ago
Hi,
One of ways to achieve this is creating a new column for the sorting purpose.
ARR bands sort CC = SWITCH ( TRUE (), tablename[columnname] < 10000, 1, tablename[columnname] >= 10000 && tablename[columnname] < 49999.99, 2, tablename[columnname] >= 49999.99 && tablename[columnname] < 99999.99, 3, tablename[columnname] >= 100000, 4 )Try to create one more calculated column like above, and sort the [ARR bands] column by the above column.
Thanks.
Jihwan_Kim
3 years agoSuper User
Hi,
One of ways to achieve this is creating a new column for the sorting purpose.
ARR bands sort CC =
SWITCH (
TRUE (),
tablename[columnname] < 10000, 1,
tablename[columnname] >= 10000
&& tablename[columnname] < 49999.99, 2,
tablename[columnname] >= 49999.99
&& tablename[columnname] < 99999.99, 3,
tablename[columnname] >= 100000, 4
)
Try to create one more calculated column like above, and sort the [ARR bands] column by the above column.
Thanks.
- Anonymous3 years agoNot applicable
Thanks for the help, It worked perfectly !!!
Regards