Forum Discussion

PrestaPower's avatar
PrestaPower
Frequent Visitor
7 years ago
Solved

column to order

Hey, so here is my concern.   I would like to be able to get a new column that gives me the "number" of the step for each enterprise using the date. I already know how to get the latest date but no...
  • themistoklis's avatar
    themistoklis
    7 years ago

    PrestaPower

     

    Please try the following:

     

    Rank = 
    VAR d = Sheet1[Date_Created]
    VAR a = Sheet1[Enterprise_Id]
    RETURN
        CALCULATE (
            RANK.EQ ( d, Sheet1[Date_Created], ASC ),
            FILTER ( ALL ( 'Sheet1' ), Sheet1[Enterprise_Id] = a )
        )