Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
honeyasha
Contributor III
Contributor III

can any one explain me the why we will use flags in concatenation

can any one explain me the why we will use flags in concatenation with example.

3 Replies
ahmar811
Creator III
Creator III

Suppose we have Sales Actual value table and another one is Sales Budget with same field, in that case we have to concatenate these two table but after that how we know which field value is actual and which is budget value that time we have create flag so you can easyly understand using flag.

qlikviewwizard
Master II
Master II

Concatenate appends the rows of one table to another. Concatenate never merges any rows. The number of rows in a concatenated table is always the sum of the rows from the two input tables. Here's what our sample data will look like after Concatenate.

For example we have data like this.

Sales:

IDDATESales
17/6/20181
27/5/20182
37/2/20183
47/2/20184
57/1/20185
66/30/20186
76/30/20187
86/28/2018

8

Revenue:

IDDATERevenue
47/2/20184
57/1/20185
66/30/20186
76/30/20187
86/28/20188
96/27/20189
106/26/201810
116/26/201811
126/24/201812
136/25/201813
146/22/201814
156/22/201815
166/20/201816
176/21/201817
186/18/201818
196/20/201819

Capture.PNG

Capture.PNG

Hope you got it.

Anonymous
Not applicable

Hi,

Suppose if we have combined two dates in a single column,

and if we are performing some transformation on that date then if we want to check the result

Then in this condition based on flag only we can verify that result.

If flag is not set then it is difficult to verify the output generated from operations performed.

Regards

Ritesh