Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to join a specific cell value as column in a table. Please see the below screenshot for better understanding.
Input data
What I need - Output
Is this possible in load script?
Thanks in advance.
Kind Regards,
Tamil
This method is dynamic.
LOAD Sno,
Cust,
Prod,
[Sold Qty],
Price
FROM
[Sample.xlsx]
(ooxml, embedded labels, header is 2 lines, table is Sheet1);
Join
First 1
LOAD
B as Country
FROM
[Sample.xlsx]
(ooxml, no labels, table is Sheet1);
Hi Nagraj,
Can you post some sample data?
Thanks
PM
Hi prasahant,
Attached.
PFA
This method is dynamic.
LOAD Sno,
Cust,
Prod,
[Sold Qty],
Price
FROM
[Sample.xlsx]
(ooxml, embedded labels, header is 2 lines, table is Sheet1);
Join
First 1
LOAD
B as Country
FROM
[Sample.xlsx]
(ooxml, no labels, table is Sheet1);
tab1:
LOAD
Sno,
Cust,
Prod,
[Sold Qty],
Price
FROM
Sample.xlsx
(ooxml, embedded labels, header is 2 lines, table is Sheet1);
tab2:
LOAD
B as Country
FROM
Sample.xlsx
(ooxml, explicit labels, table is Sheet1)
WHERE RecNo() =1
Hi prasahant,
Thanks. But I have around 100 files., so I can't hard code the country name each time.
Thank you so much All.