Forum Discussion

LucasFERR's avatar
LucasFERR
New Member
4 years ago
Solved

RANKX Power BI - Repeating

Hi, i'm having some trouble using HANKX, i'm trying to rank a table based on a column, This column is a sum between as points and RAND()*0.01, so i don't have any repeated value. this is the formula...
  • Whitewater100's avatar
    Whitewater100
    4 years ago

    Hi Lucas:

    Here are two measures that can work for one column and second one considering two columns from the same table: I will picture the table below. One or both of these should work. My table named used is 'TableRank'. I hope this provides your solution!

    Rank EQ = RANK.EQ(TableRank[Stock],TableRank[Stock],DESC)
    Part RankX = RANKX(FILTER(all(TableRank),
    TableRank[Store]=EARLIER(TableRank[Store])),TableRank[Stock])