Forum Discussion
Filter a visual based on ranked dimension
- 7 years ago
Hi arlequin71 ,
Assuming that your ranking measure looks something like this:
ranking = RANKX(ALL(Query1[Customer Name]);CALCULATE(SUM(Query1[Sales])))
Just add the customer name to the legend (you can then hide the legend), and then add your ranking measure to the visual filter, for each one of the top for select ranking equal 1, 2, 3 and 4 and you should have the required result.
Regards,
MFelix
Hi arlequin71 ,
Assuming that your ranking measure looks something like this:
ranking = RANKX(ALL(Query1[Customer Name]);CALCULATE(SUM(Query1[Sales])))
Just add the customer name to the legend (you can then hide the legend), and then add your ranking measure to the visual filter, for each one of the top for select ranking equal 1, 2, 3 and 4 and you should have the required result.
Regards,
MFelix
It works, thanks MFelix
Just wondering now how to implement the same solution in a Line and Clustered Column Chart.
Regards,
Alex-