Forum Discussion
Column with -1 dates
- 3 years ago
Hi MintuBaruah ,
Please try this out
Date.AddDays([Order Date],-1)
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Hi MintuBaruah .
You can simply use PREVIOUSDAY() function.
Please follow this link :-https://powerbidocs.com/2020/09/13/dax-previousday-function/#:~:text=Step%2D1%3A%20Create%20a%20measure%20to%20calculate%20previous%20day%20sale.&text=Step%2D2%3A%20Drag%20Order%20Date,visual%20to%20check%20the%20output.&text=So%2C%20you%20can%20see%20here,day%20sales%20against%20current%20date.
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
- MintuBaruah3 years agoHelper III
Thank you for your reply.
I have to create the Previous Day-Date column in Power query so that I can create a unique ID column.
Please provide solution for the same for Power query.
- pratyashasamal3 years agoMemorable Member
Hi MintuBaruah ,
Please try this out
Date.AddDays([Order Date],-1)
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C