Hi,
I have two questions I would like some help with please:
I would like a table to show Top 3 ranked Products and have used
TOP3 = if([RANKX]<=3,[Total Profit],BLANK()) however still showing rank 4 & 5.
I am using Multi-Row card visual, I would like the visual to sort by Rank, It this possible? In my Image, I would like to see Product 4 first, then product 3, product 2 etc.
As for the first query, where you want to see the “Top 3” results. The way you’re trying to achieve is not possible because alongside “Top 3” measure you’ve also substitued other measures as well into the table visual. And the condition to go blank is specified under the “Top 3” measure only and not under all the measures. So it’s exactly evaluating the results as per the way the conditions are specified into each individual measures. The only way to filter the entire table visual is to put the “Top 3” measure into the FILTER PANE and select the option of “Is Not Blank” like you’ve already done for the second table visual.
Now, with regards to the sorting by ranking option it’s possible. Just click onto the “Multi-Row Card” to activate that visual and then click onto the 3 dots and under “Sort By” option select the “RANKX” option and it’ll sort the results as per rankings where Product 4 will be seen on the top. Below is the screenshot provided for the reference -
An alternative could be to create separate display measures that blank out values, like you did with the TOP3 measure. Using those instead of the other measures means you don’t have to set visual level filters.