Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Snowflake connection "The field already exists in the record"

Hello,

I am trying to do a join on snowflake database when loading data but I got an error that "The field already exists in the record". What does it mean? That there can't be same column/field name in both tables? I want just to obtain LEFT JOIN,. It doesn't look like something extraordinary

 

select * from "Database"."Schema"."Table" as JOB
JOIN "Database"."Schema"."Table" as CAT

ON JOB.ID=CAT.ID

AND JOB.CODE=CAT.CODE

 

I have filled server, warehouse, role, database in advanced options of Snowflake connector

 

Thank you for your help

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Pbiuserr , You can not take the same column name from both tables. So take all fields from one table and selected them from another table, rename the columns in the query if needed

 

select JOB,*, CAT.ID as cat_ID  from "Database"."Schema"."Table" as JOB
JOIN "Database"."Schema"."Table" as CAT

ON JOB.ID=CAT.ID

AND JOB.CODE=CAT.CODE

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Pbiuserr , You can not take the same column name from both tables. So take all fields from one table and selected them from another table, rename the columns in the query if needed

 

select JOB,*, CAT.ID as cat_ID  from "Database"."Schema"."Table" as JOB
JOIN "Database"."Schema"."Table" as CAT

ON JOB.ID=CAT.ID

AND JOB.CODE=CAT.CODE

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.