Forum Discussion
Anonymous
7 years agoNot applicable
Rank by Date & Time
Hello, I have a dataset that I am currently ranking by Date, which is working well. However, I have multiple entries for the same day, so I would like it to assign a rank by looking at both the ...
- 7 years ago
Hi Anonymous,
You just need to remove ".[Date]".
Rank = VAR d = EventSignatures[DateSigned] VAR a = EventSignatures[ActiveForm_ld] RETURN CALCULATE ( RANK.EQ ( d, EventSignatures[DateSigned], ASC ), FILTER ( ALL ( 'EventSignatures' ), EventSignatures[ActiveForm_ld] = a ) )Best Regards,
Dale
v-jiascu-msft
7 years agoMicrosoft Employee
Hi Anonymous,
You just need to remove ".[Date]".
Rank =
VAR d = EventSignatures[DateSigned]
VAR a = EventSignatures[ActiveForm_ld]
RETURN
CALCULATE (
RANK.EQ ( d, EventSignatures[DateSigned], ASC ),
FILTER ( ALL ( 'EventSignatures' ), EventSignatures[ActiveForm_ld] = a )
)
Best Regards,
Dale
Anonymous
7 years agoNot applicable
Oh my goodness, of course! Thank you so much.
