Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Show Top 10 rows in a filtered table

Hi This seems easy to do but all the solutions I have tried to research don't seem to work for me. All I want to do is display the top 10 rows in a table based on Exposure Gap, descending. The numbe...
  • CNENFRNL's avatar
    5 years ago
    RANK =
    RANKX(
        ALLSELECTED( yourtable[MARG ID] ),
        CALCULATE( SUM( yourtable[Exposure Gap] ) )
    )

    Put the measure into the visual filter