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

loading data in QlikView

Hi All,

I have some data that I need to transform during load, is there an easy way to achieve this in Qlik?

My data looks like this:

DateAmount
31/10/2011
30/11/2011
31/12/2011
16/01/201238,008.35
31/01/2012
29/02/2012
31/03/2012
16/04/201236,417.00

Where the amount is null for the date, I want to populate it with the next future amount, like this:

DateAmount
31/10/201138,008.35
30/11/201138,008.35
31/12/201138,008.35
16/01/201238,008.35
31/01/201236,417.00
29/02/201236,417.00
31/03/201236,417.00
16/04/201236,417.00

I thought about intervalmatch but haven't been able to get the results I'm after.

Any help would be very much appreciated.

Kind Regards,

Phil

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

check the attach example

it uses the load script to fill the data

View solution in original post

4 Replies
Not applicable
Author

Hi,

use the table wizard and select your table.

Then follow the steps documented in the screenshots (see the attached ZIP file).

Good Luck!

Rainer

lironbaram
Partner - Master III
Partner - Master III

hi

check the attach example

it uses the load script to fill the data

Not applicable
Author

Thanks Rainer, very helpful I had no idea Qlik could do that!

It did do something odd though with filling column headers where the first couple of rows were blank. Though I could work round that by specifying the first row as a header line.

Thanks again, Phil.

Not applicable
Author

Thanks Liron, it's a neat solution to put that in the script.

Kind Regards,

Phil