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

Using Exists

Hi All,

I am trying to use the following script to load but it won't work:

QUALIFY*;

UNQUALIFY BillingIDCustomerID,

LOAD *, BillingID+' '+CustomerID AS BillingIDCustomerID

FROM

WHERE EXISTS(VisitID)

Basically, I want to only pull records where the VisitID is loaded in QlikView, but when I look at table viewer, the information density on BillingIDCustomerID field is 0. Any ideas? Thanks in advance for your help!

2 Replies
Not applicable
Author

Try this:

BillingID&' '&CustomerID AS BillingIDCustomerID


Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I believe the problem is caused by Qualify. Because of the qualification, your field VisitID is now called differently (with the qualifier), hence Exists never returns true and nothing is being loaded.

Try unqualifying VisitID.