Forum Discussion
Kumar11109
9 years agoHelper IV
Tagging Videos For each session
I have a data set in which I need to tag resources used in a session, starting from 1. I am attaching an image for a sample of my data set. Please help me...
- 9 years ago
Check if RANKX Function works.
Rank = RANKX ( FILTER ( Table1, Table1[Session ID] = EARLIER ( Table1[Session ID] ) ), Table1[Start Time], , ASC, SKIP ) - 9 years ago
RANKX worked, thanks.
v-chuncz-msft
9 years agoCommunity Support
The data type of session id doesn't matter in formula above. Share the .pbix file if convenient.
Kumar11109
9 years agoHelper IV
Can you rewrite the formula, because did run successfully but it's resulting in only 0? I am attaching an image.
- v-chuncz-msft9 years agoCommunity Support
Check if RANKX Function works.
Rank = RANKX ( FILTER ( Table1, Table1[Session ID] = EARLIER ( Table1[Session ID] ) ), Table1[Start Time], , ASC, SKIP ) - v-chuncz-msft9 years agoCommunity Support
It works for your original sample data. You may need to check the actual data and change it accordingly. Better to learn more DAX basics before going ahead.
- Kumar111099 years agoHelper IV
The formula didn't work on my sample data set also.
- v-chuncz-msft9 years agoCommunity Support
- Kumar111099 years agoHelper IV
Some thing like this:
Aren't there any commands like "Tag" found in stata for power bi.
- Kumar111099 years agoHelper IV
RANKX worked, thanks.