Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Qliksense_77
Creator
Creator

Price adjust expenses

Hi,

I have a dataset with expenses from last 5 year. Data is like below.

I would like to have the expenses adjust to averages pricechanges per year. So the earlier years are comparable to 2021-prices.

And also the price adjustments are dependent of the type of expenses.

For instans expenses from 2019 should be multiplied with 1,03 if it is salary. 

And expensees from 2019 should be multiplied with 1,01  if it is "other".

How to do this in load script?

 

typeyearexpenses
salary2019100$
other2019145$
salary2020200$
other2020245$
0 Replies