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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator III
Creator III

Create flag in script

i have two tables are table1 and table 2 that tables have same field so its auto concatenation .

but the two table have different sales are payable and receivable.

i want to take payable and receivable separately using flag.

How to create flag?

1 Reply
Anonymous
Not applicable

In the table1 load statement add :

     '1'     as     [Table1Flag] ,

     '0'     as     [Table2Flag] .

and for table2 :

     '0'     as     [Table1Flag] ,

     '1'     as     [Table2Flag] .