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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

getting two fields in a same table

how to get the two fields from difffernt table

as i need to create a flag comparing the values of these two fields ,

5 Replies
its_anandrjs
Champion III
Champion III

If there is  relation between this tables and with fields also you can create another link table to get another fields.

prieper
Master II
Master II

Your question is very unspecific, can you post an example?

In general there must be any kind of link between these fields.

Within an application then you may simply use a formula like IF(A = B, 'equal', 'not equal')

Within scripting you need to bring these fields together, mapping might be a possibility, or joining these tables.

mapA: MAPPING LOAD Key, A RESIDENT ...;

CombinedTable: LOAD *, IF(A = B, 'equal', 'not equal') AS Check; LOAD Key, B, APPLYMAP('mapA', Key) AS A .... FROM ...;

Anonymous
Not applicable
Author

these tables are linked via one of the field ,

how to do that

not getting

its_anandrjs
Champion III
Champion III

Better you post and sample.

1. This two fields you want in different table.

2. After getting in different table will it connected to previous table or not.

karthikoffi27se
Creator III
Creator III

Hi Dy,

You can create a flag under each table.

TABLE1

LOAD *,

'First Table' as Flag1

;

TABLE2

LOAD *,

'Second Table' as Flag2

;


Please use the above expression.


Many Thanks

Karthik