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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Data Load

Hi All,

I have data something like below

Order NumberHeader_textLineNo
16-101003Inclusive of VAT@ 14.5%, Loading, Unloading and  Transportation Charges04
16-101003as actulas04
16-101003Immediately within next working day after receiving the Purchase Order05
16-101007At the time of unloading the material ,sufficient time to be given to our store persons for the06
16-101007Quality & Quantity inspection, acceptance & unloading.06
16-101003Goods to be supplied against this order must be properly packed to avoid damage during Transit / Storage.07
16-101003Warranty valid for a period of  12 months from the date of supply.08
16-101003shall be done in presence of our company representative at your stock yard10
16-101003To be Obtained by the Supplier at not extra Cost.13
16-101003Any non-tendered materials shall not be supplied until the rates & sizes are approved in writing by the undersigned.14
16-101003Material should be supplied between 8:00 am to 6:00 pm on working days (Monday to Saturday).16
16-10100360 Days credit from the date of Delivery90
16-101004Inclusive of VAT@ 14.5%, Loading, Unloading and  Transportation Charges04
16-101004as actulas04

While Loading the data I need to Combine the same LineNo.

Example: In the First and second Order LineNo is 4 So the Output will be.

Order Number    Header_text                                                                                                                    LineNo

16-101003        Inclusive of VAT@ 14.5%, Loading, Unloading and  Transportation Charges as actuals         04

Please help me with this.

Regards,

Keerthi KS

16 Replies
tresesco
MVP
MVP

I guess you need something like:

Table:

Load

     *

From <> ;

Join

Load

       Concat( Header_text, ' ') as Header_text,

       LineNo

From <> Group By LineNo;

Not applicable
Author

The result should be like below

1) Please issue the shop  drawing to our site team and get the approval prior to work. 2) Conduite the cables as per the shop drawing issued by you. 3) Supply and installation of equipments in good condition. Others

tresesco
MVP
MVP

But your 'prior to work' comes under id '2': ?

2 15M-100895 prior to work.
Not applicable
Author

Yes its in Id 2.

It should concatenate in the Uniqueid Order

tresesco
MVP
MVP

You mean, every two consecutive rows should be concatenated?

Not applicable
Author

No. It should concatenate in the Uniqueid Order.

This is the data.

UniqueidOrder_NumberHeader_textLineNo
115M-100895Please issue the shop  drawing to our site team and get the approval02
215M-100895prior to work.02
315M-100895Conduite the cables as per the shop drawing issued by you.02
415M-100895Supply and installation of equipments in good condition.02
515M-100895Others02

Output should be

Please issue the shop  drawing to our site team and get the approval prior to work. Conduite the cables as per the shop drawing issued by you. Supply and installation of equipments in good condition. Others'


Complete Header_Text concatenated as one record


Hope its clear.

tresesco
MVP
MVP

May be a Order By is needed, like:

Table:

Load

    *

From <> ;

Join

Load

      Concat( Header_text, ' ') as Header_text,

      LineNo

From <> Group By LineNo Order By Uniqueid;