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

several version of order, load last one

Hi guys,

I have several version of some orders,

like:

Version 1: inquiry

version 2: passing

version 3: delivery

... ->versionnr

so, my  intention is to get the last version.

there is a key: ArticleNr, and others like description, amount, ...

so, how can I tell in script, that Qlikview only import the lastes version of each Articlenr?

like:

Load ArticleNr where MaxString(versionr),

     description, amount ...

I hope you can understand this

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Data:

LOAD ArcticleNr, max(versionnr) as versionnr

FROM ....source...

GROUP BY ArticleNr;

left join(Data)

LOAD ArcticleNr, versionnr, ...other fields...

FROM ...source...;


talk is cheap, supply exceeds demand