Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display 1 if value is in another table column

Hi everyone !

I'm working with qliksense on a PotstgreSQL database and I have two tables "public"."bookings" and "public"."quotes".

Some of the IDs of the first table are in a column "deal_id" of the second one.

I would like to load a table that will display the whole "public"."bookings" table, plus a column that will display 1 if "public".bookings"."id" is in the column "public"."quotes"."deal_id", and 0 if not.


Is it possible ? I have tried everything with the functions IF and EXISTS, and by combining them, etc...


Thanks in advance for your help !

0 Replies