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: 
qv_testing
Specialist II
Specialist II

Need Help??

Hi Community,

I have one table like,

Load *, Stu_Num & ID as Key

weere Exists(Stu_Num);

Load ID,

        Stu_Num,

        Name,

        Designation

From Table_Name;

Here, what is the use of Exists() Function??

Please anyone can Explain....??

8 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

This is an odd use of Exists(), my guess would be that it does.... nothing. Except possibly excluding any null values in Stu_Num.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Ralf-Narfeldt
Employee
Employee

What are you trying to achieve?

jagan
Luminary Alumni
Luminary Alumni

Hi,

Check for detailed help in the attached link

Joins and Lookups

Refer The Exists() function section;

Regards,

jagan.

qv_testing
Specialist II
Specialist II
Author

HI,

Actually i have developed application, I am supporting side,

I am little confuse, they are used script like,

Ralf-Narfeldt
Employee
Employee

As Jonathan said it could possibly exclude null values, but I would do that in a resident load instead.

qv_testing
Specialist II
Specialist II
Author

Hi Jonathan,

I am Little Confusion, If i am using Exists(ID)  i am not getting records.

PFA,

Anonymous
Not applicable

check the previous table for the stu_num field.

This exists will load only the stu_num loaded from the previous table

sasiparupudi1
Master III
Master III

Hi

Use it in the following way

Test:

LOAD id,

     date,

     cost

FROM

(qvd);

Test1:

LOAD *, id & date as ID1 Resident Test

   

Where Exists(id);

DROP Table Test;