Forum Discussion

AuroraNI's avatar
AuroraNI
Icon for Helper III rankHelper III
5 years ago
Solved

RANKX in a dynamic table

Hi all,

I have had a look on some of the other posts around this and also on youtube but can't get my RankX to do what I need it to do so would be grateful for some assistance.

 

I have a simple table where I want to rank runners based on time and be able to use a slicer to select different events.  I want the rank to rank the runners 1-8 for the race selected in the slicer as shown below

 

However when I select another event it ranks it based on the whole table rather than the selected one as I want to still rank it 1-8 for this event:

My current code for the Rank is:

I have looked in the forums which suggest using 'AllSelected' and/or 'Filter' but I cannot get it to work and I know it is a simple solution.

 

Thanks for any assistance.

 

1 Reply