Forum Discussion

MintuBaruah's avatar
MintuBaruah
Helper III
3 years ago
Solved

Column with -1 dates

Hello All,

 

I wanted to create a column in the Power query to show previous dates from the existing column. Please refer to the expected results table:

Date Previous Day-Date
23/01/2023 22/01/2023
22/01/2023 21/01/2023
01/12/2022 30/11/2022

 

In the above example: The Date is the column I have and the Previous Day-Date is the column that I want to show.

 

Please help resolve this problem.

Thank you.

  • 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

3 Replies