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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
acarrera
Partner - Contributor II
Partner - Contributor II

Lookup() vs. Join Performance, ApplyMap() vs. Inner Join

Hi all,

I am replacing some Joins with ApplyMap() and (potentially) Lookup() in a Qlik Sense script.

Two questions:

  1. I know ApplyMap() is faster than Lookup() and joining, but is Lookup() faster than a join too?
  2. Can I use ApplyMap() with Where Exists() to simulate an inner join?

 

Thanks,

Alex

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

Lookup is likely the slowest option. See https://qlikviewcookbook.com/2020/03/creating-temporary-script-associations/.

Yes, you can use ApplyMap with Where Exists to replace an inner join. 

-Rob

View solution in original post

2 Replies
rwunderlich
MVP
MVP

Lookup is likely the slowest option. See https://qlikviewcookbook.com/2020/03/creating-temporary-script-associations/.

Yes, you can use ApplyMap with Where Exists to replace an inner join. 

-Rob

acarrera
Partner - Contributor II
Partner - Contributor II
Author

Great, thanks Rob for your prompt and informative reply!

Best,

Alex