Forum Discussion

stiani's avatar
stiani
Frequent Visitor
4 years ago
Solved

Transpose table with every period in between dates

So i have a table with rental objects. Each object has an ID. each row in the table shows new index regulations. So for the chosen ID i got 2 regulations. In order to compare vs accounting i need to transpose this table into a monthly table for each object ID like this from "date start" to a set date. In this example desember.24.

 

Object IDYearMonthRent
....c9d2020035520
....c9d2020045520
....c9d2020055520
....c9d.........
....c9d2021035912
....c9d2021045912
....c9d.........
....c9d2022036000 
....c9d

2022

046000
....c9d2022056000
....c9d............
....c9d2024126000

 

And i wanna do this in power query in Power BI.