Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Mapuna
Partner - Contributor III
Partner - Contributor III

Data modelling based on joins or concatenate

load * inline
[Accounid, Owner, 1owner, 2owner
1, a1, a,g
2, b2, b,2e
3, c3, c
4, d4, d
20, a
21, b
22, c
23, d
24, g
28, d
29, 2e
];

consider the above table

when i select 'a' from 1owner field i was to show data corresponding to Accountid row 1 and row 20

AnupamRaj_0-1676970488745.png

 

in this way:

AnupamRaj_1-1676970501064.png

how to achieve this? kindly help

Labels (1)
1 Reply
PrashantSangle

Hi,

try below

Test:
load * inline [
Accounid, Owner, owner1, owner2
1, a1, a,g
2, b2, b,2e
3, c3, c
4, d4, d
20, a
21, b
22, c
23, d
24, g
28, d
29, 2e
];

NoConcatenate
Final:
Load Accounid,
Owner
Resident Test;
Concatenate
Load Accounid,
owner1 as Owner
Resident Test;
Concatenate
Load Accounid,
owner2 as Owner
Resident Test;

Drop table Test;

 

Regards,

Prashant Sangle

 

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂