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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
rdlccn70
Contributor III
Contributor III

LOAD Data with adding "calculated data"

Hi,

i need a solution for loading data with a new calculated colum "Amount_EUR". The Problem is, that every month should be the "Amount_EUR".corrected cumulative. I make some formula example in Excel File.

I would be happy if somebody have a solution.

Regards,

Eddy

3 Replies
dplr-rn
Partner - Master III
Partner - Master III

use previous function and rowno (for identifying 1st row etc.)

e.g. below

Amount_SEK + previous(Amount_SEK) as Amount_SEK_CM // Amount_SEK field accumulated

Amount_SEK_CM/EXCHANGE_RATE as AMOUNT_EUR_KUM

jayanttibhe
Creator III
Creator III

Please Find attached solution

rdlccn70
Contributor III
Contributor III
Author

Hi Jayant, thank you for your solution. I put your idea in my file, but there is mistake on my site. Would you please check this?

The "Amount_EUR" should be calculated for each DATA_LAYER and for each year starts the calculation new for Amount_EUR.

Thanks

Erdal