Forum Discussion

querylearner11's avatar
querylearner11
Regular Visitor
4 years ago
Solved

Extrapolating "Rent amount" from start & end date & amount

Hey, first post in this community! Saw a lot of great helps on the forum, but haven't seen something like this.

Currently have data on Lease ID (contract) and Customer ID (customer), with start/end contract date and Rent amount as below:

 

Lease ID

Customer IDStartEndRent amount
111/1/202212/31/20221000
211/1/202312/31/20231100
327/1/202212/31/20252000
437/1/20226/30/20231500
537/1/20236/30/20241600

 

Is there any way for Power BI/Query to project the next 24 months for these leases? Below is sample output:

Customer1/1/20222/1/20223/1/20224/1/20225/1/20226/1/20227/1/20228/1/20229/1/202210/1/202211/1/202212/1/20221/1/20232/1/20233/1/20234/1/20235/1/20236/1/20237/1/20238/1/20239/1/202310/1/202311/1/202312/1/2023
1100010001000100010001000100010001000100010001000110011001100110011001100110011001100110011001100
2000000200020002000200020002000200020002000200020002000200020002000200020002000
3000000150015001500150015001500150015001500150015001500160016001600160016001600

 

 

Thanks for the help!