Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Data:
LOAD
RowNo() as RowID,
Unsorted
Inline [
Unsorted
'zebra,lion,tiger'
'oil,apple,butter'
];
tmp:
LOAD
RowID,
SubField(Unsorted, ',') as Values
Resident Data;
LEFT JOIN('Data')
LOAD
RowID,
Concat(Values, ',') as Sorted
Resident tmp
Group by RowID
Order by Values;
drop Table tmp;
Hello @sbfernandes
Do you need new column on data loading stage or just chart expression?
Hi Mrybalko
I require a new column in the loading stage.
Thanks.
Data:
LOAD
RowNo() as RowID,
Unsorted
Inline [
Unsorted
'zebra,lion,tiger'
'oil,apple,butter'
];
tmp:
LOAD
RowID,
SubField(Unsorted, ',') as Values
Resident Data;
LEFT JOIN('Data')
LOAD
RowID,
Concat(Values, ',') as Sorted
Resident tmp
Group by RowID
Order by Values;
drop Table tmp;