My question is this: suppose I have a dataset where I have 4 fields
- the date
- A type
- Amount (metric 1)
- Sale price (metric 2)
These 4 fields are displayed in a table on the Tableau toolbar. When I click on any element of the table, I would like the text at the top to display the rank of both metrics and the Unique indicator of indicators in my table as well as their values.
eg. 'Amount = 32,500: 4 out of 342, Sale price = $ 2,5: took 2nd place out of 6 (I only have 6 different sale prices)
I would also like the implementation to be dynamic, so when I filter the date, the result will be adjusted, for example, 'Amount = 32 500: 1 place out of 10, Sale price = $ 2.5: In the rating 1 of 4'
I tried using the RANK function, but whenever I click on a row in my table, it effectively filters out all the rest of the data and sets the rank to 1.
Is there any way to do this?
Chris source share