on 2021 Nov 02 6:52 PM
Hi experts,
do you know if it is possible to apply a double sorting in tables (by a dimension and a measure)?
I have the following table in which I want to sort descending by AMOUNT but placing as last value "Other".
If I apply a custom sorting for Calculated Dimension 1 then sorting by amount is cancelled.
I think it could be possibile creating a calculated dimension like this:
= If [Calculated Dimension 1] = "Other" Then 99 Otherwise Rank([AMOUNT])
The problem is that Rank() function is available only in table calculations and it is not possible to create a measured-based calculation (table calculations can not be sorted).
Can you please help me?
Thanks.
Request clarification before answering.
I solved this issue creating the following calculation:
= If [Calculated Dimension 1] = "Other" Then -9999999 Otherwise [AMOUNT]
Then I added this calculation as a column of the table, I sorted it descending and I hide it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
49 | |
6 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.