Forum Discussion
myti
9 years agoHelper II
Add calculated index column by DAX
Dear Friends, I have table as a below,I would be happy if you guide me how I can add the calculated index column to the table a New column by a DAX formula. Thank you, Myti
- 9 years ago
Try to create a calculated column in DAX.
index = RANKX ( FILTER ( yourTable, EARLIER ( yourTable[CC] ) = yourTable[CC] && EARLIER ( yourTable[Type] ) = yourTable[Type] && yourTable[Cluster] = yourTable[Cluster] && EARLIER ( yourTable[Status] ) = yourTable[Status] ), yourTable[Avg-Position], , ASC )
hnblann
3 years agoNew Member
I'm trying to do something similar, but instead of "status", I have a date column and I want the index to calculate based on ascending date. How do I add that step? Thanks