Forum Discussion
Anonymous
8 years agoNot applicable
Conditional Index Column Based on Date
Good day to you all I am looking for some assistance in creating an index column called Trading Day No. based on the sorted date column. Index numbers should begin at 1 and all rows with the same...
- 8 years ago
Hi Anonymous
With DAX you can achieve the same with RANKX
Add it as a calculated column
Trading Day No. = RANKX ( TableName, TableName[Date],, ASC, DENSE )
Zubair_Muhammad
8 years agoCommunity Champion
Hi Anonymous
With DAX you can achieve the same with RANKX
Add it as a calculated column
Trading Day No. = RANKX ( TableName, TableName[Date],, ASC, DENSE )
Anonymous
8 years agoNot applicable
Thank you very much, works perfectly
Much appreciated
Herbz