How to sort in a Slice

I have the following expression:

isnotblank([Replacement_VehicleReg])

Which needs to be sorted by date order asc [WEC]

There are plenty of examples in the community, I just canโ€™t find one which suits my purpose.

Is it possible for a solution?

Kind Regards

Solved Solved
0 5 1,535
1 ACCEPTED SOLUTION

Perfect Aleksi, something else I have learned today.

Cheers Guys

View solution in original post

5 REPLIES 5

Donโ€™t know exactly where are you trying to sort it but Iโ€™m assuming you are trying to do that with a dropdown. If you are trying to read values with a normal column, you can sort the order just with the SORT() expression but that doesnโ€™t give you the option to sort with another column. The only way you can sort the order is the ORDERBY() but that works only with the Key column.

Ok Steve, its just that when the Report is run:

I would be ideal to ASC on the WEC date, but Iโ€™m uncertain how to acheive that.

Then you can use the ORDERBY() like <<Start: ORDERBY(TableName[KeyColumn],[WEC],FALSE)>>

Perfect Aleksi, something else I have learned today.

Cheers Guys

Youโ€™re welcome

Top Labels in this Space