Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All, Hope you doing great.
How to find out/ separate and count the multiple records with in one cell in same field.
Attached the example
Thanks in advance
KUMAR
Hi
Try This
[Sheet1]:
LOAD [Trip Id],
[Vehicle Number],
SubField([Do Number],'|') as Separate_Do_Number,
substringcount( [Do Number] , '|') +1 as Numberofrecord,
[Carrier Name],
[Carrier Code]
FROM [lib://Downloads/Sample1.xlsx]
(ooxml, embedded labels, table is Sheet1);
Regards
An Pham
Hi
Try This
[Sheet1]:
LOAD [Trip Id],
[Vehicle Number],
SubField([Do Number],'|') as Separate_Do_Number,
substringcount( [Do Number] , '|') +1 as Numberofrecord,
[Carrier Name],
[Carrier Code]
FROM [lib://Downloads/Sample1.xlsx]
(ooxml, embedded labels, table is Sheet1);
Regards
An Pham
Use SubstringCount function
For Example: SubStringCount([Do Number],'|')+1
Yes. correct one.
Thanks for your support.