Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

One to Multiple Rows Map

Dear All,

I have two table like below

   

Table A
Leg DetailsFruits
leg1Apple
leg2Mixed Fruits
leg3Mango
leg4Orange

   

Table B
Leg DetailsStatus
leg1dispatched
leg1stocked
leg2processed
leg2dispatched
leg2stocked
leg3processed
leg3dispatched
leg3stocked
leg4processed
leg4dispatched

and i need the load statement to get the below output table

    

Table C
Leg DetailsFruitsStatus
leg1Appledispatched
leg1Applestocked
leg2Mixed Fruitsprocessed
leg2Mixed Fruitsdispatched
leg2Mixed Fruitsstocked
leg3Mangoprocessed
leg3Mangodispatched
leg3Mangostocked
leg4Orangeprocessed
leg4Orangedispatched

Can someone help me with the load script

1 Reply
Anil_Babu_Samineni

I don't think whether you need any thing changes while load. How is your script looks like.

My Script is this

TableA:

LOAD [Leg Details],

    Fruits

FROM

[https://community.qlik.com/message/1276808]

(html, codepage is 1252, embedded labels, table is @1, filters(

Remove(Row, Pos(Top, 1))

));

Join (TableA)

TableB:

LOAD [Leg Details],

    Status

FROM

[https://community.qlik.com/message/1276808]

(html, codepage is 1252, embedded labels, table is @2, filters(

Remove(Row, Pos(Top, 1))

));


PS - enclose attached Output and App

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful