Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
MateP
Contributor II
Contributor II

Synthetic Table for historical price list

Dear All,

I am a relatively new user of Qlik Sense and I would be really grateful for any help. Unfortunately, I could not find a similar issue here on the forum.

I was provided a table with the list of historical price changes for a series of mobile phone contracts. Sample data:

Contract IDChange Date (dd/mm/yyyy)New Price
Contract_101/01/201910
Contract_101/04/2019100
Contract_104/06/2019

50

.......

....

 

What I would like to get as a monthly output until a certain contract end date (stored in the variable EndDate) is the following:

Contract IDYearMonth (yyyy-mm)Price
Contract_12019-0110
Contract_12019-0210
Contract_12019-0310
Contract_12019-04100
Contract_12019-05100
Contract_12019-0650
Contract_12019-0750
Contract_12019-0850
Contract_1EndDate50
.......50


I was thinking to do this with a loop but I have still not quite figured out, how exactly. I would be really thankful, if someone could suggest me a good solution to this problem!

Thank you very much in advance,
BR Máté

Labels (2)
1 Solution

Accepted Solutions
jwjackso
Specialist III
Specialist III

If you can load the historical data with start date and end date, the Interval Match  might work.

View solution in original post

1 Reply
jwjackso
Specialist III
Specialist III

If you can load the historical data with start date and end date, the Interval Match  might work.