I have the Data like below,
| Date | Sales | Profit |
| 05/01/2022 | 100 | 300 |
| 04/01/2022 | 200 | 400 |
Date is is (MM/DD/YYY-Format).
I need the below Output:
| Date | Sales | SalesPM(Prev month) | Profit | ProfitPM(Prev month) |
| 05/01/2022 | 100 | 400(April month sales) | 300 | 400 (April month Pft) |
| 04/01/2022 | 200 | (March month Sales) | 400 | (March month Pft) |
Can somebody help me in achieving this?