Forum Discussion
Anonymous
7 years agoNot applicable
Cumulative Count for Order/Index
Hey guys, how are you? I'm struggling to try to calculate a cumulative sum in a table, in order to create a sort of index or order for projects. Let's say I have a database related to project...
- 7 years ago
Anonymous
You can use a calculated column like
Index = RANKX ( FILTER ( Table1, [Project Code] = EARLIER ( [Project Code] ) ), [Key], , ASC, DENSE )
richbenmintz
7 years agoResident Rockstar
Hi Anonymous
can you provide a sample data model and what the expected output would look like?
Zubair_Muhammad
7 years agoCommunity Champion
Anonymous
You can use a calculated column like
Index =
RANKX (
FILTER ( Table1, [Project Code] = EARLIER ( [Project Code] ) ),
[Key],
,
ASC,
DENSE
)
- Anonymous7 years agoNot applicable
THANK YOU! I didn't know the RANKX function!
All I have learned is from Youtube and self-working.Thank you!