Forum Discussion
7 days rolling average for missing values
- 5 years ago
- Anonymous5 years ago
Hi Harry_Tran ,
Sorry for late reply. You can try a calculated column like this:
index = RANKX(ALLSELECTED('CASE'[Date]),'CASE'[Date],,ASC)Result:Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Harry_Tran ,
Sorry for late reply. You can try a calculated column like this:
index = RANKX(ALLSELECTED('CASE'[Date]),'CASE'[Date],,ASC)
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Thank you for your response
I created an index column as you suggested and it gave me result like this
it jumped from 2 to 6 and skip 3,4,5
Do you know why?
Thank you
- Anonymous5 years agoNot applicable
Hi Harry_Tran ,
Will it happen after you sort the date column?
Please select the index column and verify if the contained values are only 2 and 6.
Best Regards,
Yuna