Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
The following table includes data regarding employees (employee number , full name).
As seen in the table, it contains duplicate Emp_no (marked in Yellow):
Any idea on how to remove the duplicate Emp_no so that the desired table would look like:
Regards,
Sharbel
Temp:
LOAD * Inline [
Empo_no, Full Name
1000, Emily Johnson
1100, Alexander Taylor
1200, John Smith
1200, Dr. John Smith
1300, Olivia Davis
1400, William Brown
1400, Dr. William Brown
1500, Emma Anderson
1600,Benjamin Wilson
1700,Sophia Martinez
1700,Dr. Sophia Martinez
1800,Mia Harris
1900,Daniel Clark
1900,Dr. Daniel Clark];
NoConcatenate
Data:
LOAD Empo_no,
LastValue("Full Name") as "Full Name"
Resident Temp
Group By Empo_no;
DROP Table Temp;
Works Perfectly, Many thanks
Temp:
LOAD * Inline [
Empo_no, Full Name
1000, Emily Johnson
1100, Alexander Taylor
1200, John Smith
1200, Dr. John Smith
1300, Olivia Davis
1400, William Brown
1400, Dr. William Brown
1500, Emma Anderson
1600,Benjamin Wilson
1700,Sophia Martinez
1700,Dr. Sophia Martinez
1800,Mia Harris
1900,Daniel Clark
1900,Dr. Daniel Clark];
NoConcatenate
Data:
LOAD Empo_no,
LastValue("Full Name") as "Full Name"
Resident Temp
Group By Empo_no;
DROP Table Temp;
Works Perfectly, Many thanks