Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
| ID | Name | Organization | Cost center | Date | Previous Org. | Previous Cost Center |
| 1 | Michael | first | 901 | 1 02 2021 | null | null |
| 2 | Richard | second | 902 | 1 02 2021 | null | null |
| 3 | Mark | third | 903 | 1 02 2021 | null | null |
| 4 | Johm | fourth | 904 | 1 02 2021 | null | null |
| 1 | Michael | fourth | 1000 | 1 03 2021 | first | 901 |
| 2 | Richard | second | 902 | 1 03 2021 | second | 902 |
| 3 | Mark | third | 903 | 1 03 2021 | third | 903 |
| 4 | Johm | fourth | 904 | 1 03 2021 | fourth | 904 |
| 1 | Michael | fourth | 1000 | 1 04 2021 | fourth | 1000 |
| 2 | Richard | second | 902 | 1 04 2021 | second | 1000 |
| 3 | Mark | third | 903 | 1 04 2021 | first | 903 |
| 4 | Johm | fourth | 904 | 1 04 2021 | fourth | 904 |
Hi all,
I have a table like above. Some changes can be made on a monthly basis. I want to create two new column and bring the previous month's status to the current month row and find any changes. Thanks for your help in advance.
Solved! Go to Solution.
Hi @sayi77 ,
Could you pls explain how to get the result where I marked in red lines:
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi @sayi77 ,
What do you mean by "status"?Is it "Previous Org." or "Previous Cost Center"?Can you provide an expected output?
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Hi,
in the table below, 2 columns on the right (Previous Org. and Previous Cost Center) are the expected outputs. The values below these 2 columns are the expected values also.
For example, Michael, who is in the "fourth" organization in March, was in the first organization in the previous month and Previous Cost Center was 901 ( you can see table below).
As I tried to explain in my first post I only need to get previous values to the column Previous Org and Previous Cost Center which you can find below table example.
Hi @sayi77 ,
Could you pls explain how to get the result where I marked in red lines:
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
Is there anyone who can help?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.