Forum Discussion
rohitchouhan
6 years agoFrequent Visitor
Adding a date column
I want to add a new column as a date index, which starts with 03 April 2018 or any particular date and goes on till the current date. how to add this thing through DAX as a column.I got some DAX exp...
Anonymous
6 years agoNot applicable
Hi rohitchouhan ,
Your requirement is not very clear.
Do you want an index column against the date. i.e 1 for Dates 3rd April, 2 for Dates 4th April and so on.
If so, please see this https://community.powerbi.com/t5/Community-Blog/Getting-Previous-Values-in-Power-BI-Part-1/ba-p/1143370
Go to the section for creating a index column using rankx.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
stevedep
6 years agoMemorable Member
Anonymous , we responded almost at the same time 🙂