Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

change in the code on date basis

hi experts,

i have attached the sample qvw file.

i have a pivot table which has some expressions based on some calculations.

the calculations depends on the branch and the working days.

this working days get varied according to the branch.

the branch name called dundee has two codes 0831 & 0201.

from jan 2015 to march 23, 2015, the branch code for dundee is 0831 and after march 23, 2015, the branch code for dundee is 0201.

i have a month & date list boxes. if i select on jan2015 or feb 2015, the calculations for dundee branch should go with the code 0831

if i select on march 2015, the calculations for dundee branch should go with the code 0831 and 0201 (should get added up).

if i select on april 2015 or later, the calculations for dundee branch should go with the code 0201.


how can i do this in scripting or....

please help me in this regard.

5 Replies
MK_QSL
MVP
MVP

Kindly search below in community

IntervalMatch and Slowly Changing Dimensions

Not applicable
Author

hi,

thanks for the reply,

can you please help me with the script.

i have tried interval match but not sure about SCDs

MK_QSL
MVP
MVP

Kindly provide sample data then only I can work on your question...

Not applicable
Author

hi,

i have attached the sample qvw in the post

Not applicable
Author

hi,

i have attached the sample qvw in the post