Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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
Luminary Alumni
Luminary Alumni

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...