Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tmul
Frequent Visitor

Move data in time

Hi, 

I have a project, where I need to add a time shift for a few cases. My original data contains an amount, the project and the years. 
Now I implemented the possibility to move the different projects in time. I can move all projects or only a few of them by a fixed number of years. For this, I use a filter for the time shift, e.g. the user can choose a number between 0 and 20 to move the project and a filter for the projects, where the user can choose one or more projects which should be moved by the time in the filter.
Now comes the problem, I need to move different projects by a different amount of years, e.g. project A should move 5 years, Project B should not move at all and Project C should move two years in time. 

Sample data set:

YearProjectAmount
2021A5
2021B10
2021C10
2022A10
2022B5
2022C2


After the example time shift from above, the table should look like this:

 

YearProjectAmount
2021B10
2022B5
2023C10
2024C2
2026A5
2027A10

 

 

Any idea how to do that nicely? I have seen a solution where I need to generate a measure for each project and then a filter for each project, giving the start year. This is too complicated and not really applicable. This project should than be rolled out to the next department, where there is another number of projects, so it should be as general as possible. 
I guess, a possibility could be to restrict the possible shift to only 5 different years, then I would need 5 filters for the time shift and 5 for the project. But not sure if that would be the best. 
Maybe there is someone who has a good idea! 

Regards, 
Tobias

1 REPLY 1
lbendlin
Super User
Super User

There's not really a way to do that in Power BI. Maybe in Excel?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.