Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Identify Duplicate Field Names in Script Error

Hi,

I have a Script Error on one of my Documents which is failing with the below message:

"Field names must be unique within table"

Is there a way of identifying which Line No of the script this is? Or is there a third party tool that would you copy the script and it would look for column names that has the same name?

Thanks

3 Replies
Anil_Babu_Samineni

That means, You should call them up into picture like

Load Name, Sales From Table;

Load *, Sum(Sales) as Sales From Table ...; // Wrong

Load Name, Sum(Sales) as Sales From Table ... // Right ?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
abeyphilip
Creator II
Creator II

Hi Ivan,

If all the filed names can be copied to a single Excel column, you can identify duplicates via - .

Home -> Conditional Formatting -> Highlight Cells Rules -> Duplicate Values

option in Microsoft Excel.

Regards,

Abey

karthikoffi27se
Creator III
Creator III

Hi Ivan,

There is no third part tool to identify duplicates in script directly.

You can use excel as Abey says above.

Many Thanks

Karthik