Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I need your advise regarding my new challenge. I have two column and I want to concatenate them but i don't want to concatenate all the information.
EX:
order date
12345 12/10/2017
23654 11/11/2016
I want to concatenate the column but I want to achieve this information : 12345121017( order+ DDMMYY).
I tried to convert the date from this format DD/MM/YYYY to DDMMYY but with no success .
Thank you in advance!
May be like:
order & Date(Date#(date, 'DD/MM/YYYY'), 'DDMMYY') as NewField
Hi,
1 Example:
EX:
LOAD *,KeepChar(order & date,'0123456789') AS id_New;
LOAD * Inline
[
order,date
12345,12/10/2017
23654,11/11/2016
];
EXIT Script;
Hi ,
Thanks your your answer but this doesn't works in my case scenario.
Thanks
Has your date column already been converted to a real QlikView date field? If so, please post an example document with actual data (a few rows is enough). All posted solutions work as expected on the example in your OP. So there may be something else in your actual data that is blocking a correct & efficient transformation using the smallest number of steps possible.
Hi Use this
order&date(date,'DDMMYYYY')
thanks
Hi ,
Try this
=Order&date(Date,'MMDDYY')
Thank you for your advise. I fixed my problem using txt files.
Is looking like if you try to concatenate 2 column from Excel document the concatenation doesn't concatenate right.
order & Date(Date#(date, 'DD/MM/YYYY'), 'DDMMYY') as NewField this syntax is valid just in txt files not in excel.