Forum Discussion

dgreen1's avatar
dgreen1
Frequent Visitor
2 years ago
Solved

Help Understanding DAX Formula: RANKX With EARLIER

I took over a partially completed project from someone that is no longer with the company. Could you help explain what this formula is doing/how it works? = RANKX(FILTER(Table,Append1[IDNumber]=E...
  • ValtteriN's avatar
    2 years ago

    Hi,

    RANKX ranks the values given in the filter context. In your case the values of [MonthStart] column are ranked in desceding order. Additional condition is that the IDNumber must match the id of the current row. Dense makes it so that there aren't any gaps in ranking order.


    I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

    My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/