Forum Discussion
I_Like_Pi
10 years agoResolver II
Using DAX RANKX to rank Aggregated totals (Newb)
I hope I've found the right forum, if this is the wrong place for this and you know of a place to go for such please reply with that. I'm a total newb to this and cant find any decent forums for DAX/...
tanckc
10 years agoRegular Visitor
Did you ever get an answer? I have the same issue
jahida
10 years agoImpactful Individual
Wasn't involved in the initial discussion but this looked fun so I gave it a stab, here's the formula I used:
Rank = SELECTCOLUMNS(FILTER(SELECTCOLUMNS( SUMMARIZE(ALL(Table1), Table1[C_Address], "C_Gross", SUM(Table1[C_Gross])), "Address", Table1[C_Address], "Rank", RANKX(SUMMARIZE(ALL(Table1), Table1[C_Address], "C_Gross", SUM(Table1[C_Gross])), [C_Gross])), [Address] = Table1[C_Address]), "r", [Rank])
Very messy but it did give the expected result (I think):