Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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.