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

Help to do data model for below logic.

Find the below 2 table and let me help how will i do data model. In Front end I need to show Sum(weight) with using filter SHC GROUP CODE .

 

Table-1(FACT)

AWBSHCWeightKg
111BUP,BUC,COU,EAP356
121COL,PHC,PIL456
131COL,HEA,PHC,PIL378
141CRT,PER,PHC,SPX124

 

Table-2

SHCSHC GROUPCODE
BUP1
BUC2
COU3
EAP1
COL2
PIL3
CRT1
PER4
PHC5
SPX5
HEA3
1 Reply
cbaqir
Specialist II
Specialist II

I think you are asking how to join the tables. You can use subfield(SHC,',') on table 1 to parse out each.

Table1:

Load

AWB,

subfield(SHC,',') as SHC,

WeightKg

FROM

Table1 Source;

 

Table2:

Load

SHC,

[SHC GROUPCODE]

FROM

Table2 Source;