Forum Discussion
PrestaPower
7 years agoFrequent Visitor
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...
- 7 years ago
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 ) )
PrestaPower
7 years agoFrequent Visitor
Didn't work :/
themistoklis
7 years agoCommunity Champion
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 )
)- PrestaPower7 years agoFrequent Visitor
Thanks themistoklis, it worked ! You made my day !