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

Lookup Function

Hi,

Now that the Lookup() function is gone, how do I do an easy lookup?

Unique IDColAColBColC
1xxxyyyzzz
2rrrsssttt
3uuuvvvwww

Say I have id=2 and col='ColC'. How do I get to 'ttt' now without creating millions of mapping tables?

Thanks!

1 Solution

Accepted Solutions
IAMDV
Master II
Master II

Have you tried using Only() function with Set Expression?

Cheers,

DV

View solution in original post

22 Replies
anbu1984
Master III
Master III

Try this

If(id=2,pick(match(col,'ColA','ColB','ColC'),ColA,ColB,ColC))

rbecher
MVP
MVP

Hi (number),

why not just using QlikView's Lookup() function?

- Ralf

Astrato.io Head of R&D
Not applicable
Author

Because I don't think Lookup exists anymore in my version?


Thanks!
Oli

Not applicable
Author

That's just hardcoding it... What if id=24343 and col=ColXY?

rbecher
MVP
MVP

Why? Which version?

Astrato.io Head of R&D
Not applicable
Author

As far as I know the lookup function still exists?

Not applicable
Author

QV11... Doesn't come up!

qv.png

Thanks

Oli

Not applicable
Author

See above...

Not applicable
Author

That's actually really strange, I can see it in my help menu but I see the same problem you do...