Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
stephenedberkg
Creator II
Creator II

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] .