Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
AmanBohra1
Contributor
Contributor

Data Understanding

Hi Folks,

I've a scenario where i'll need to handle more than 1000's fields with more than 50000 line items.

For example all the fields and field values in table is defined as below table

FieldABCDEFPQR----------XYZ
Field Value
1AB12a12----------KJ
2BC34b098----------0
3DE8C12z----------8
||||----------|
||||----------|
10000IF78K42----------

T5T

 

How can I achieve the below output

Field Field Value
ABCAB,BC,DE,-----------------,IF
DEF12,34,8,-----------------,78
PQRa12,b098,C12z,-----------------,K42
||
XYZKJ,0,8,-----------------,T5T

 

Request for your support.

Thanks in advance..!!

Regards,

Aman

1 Reply
MayilVahanan

Hi @AmanBohra1 

Try like below

T1:
CrossTable(F1, FV)
LOAD RowNo() as R1, * INLINE [
ABC, DEF, PQR, ----------, XYZ
AB, 12, a12, ----------, KJ
BC, 34, b098, ----------, 0
DE, 8, C12z, ----------, 8
IF, 78, K42, ----------, T5T
];

LOAD F1, Concat(FV, ',') as FV Resident T1 Group by F1;

DROP Table T1;

O/P:

MayilVahanan_0-1625473366153.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.