Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm trying to bring data into my Power BI model from Snowflake using a SQL statement. I've entered the Server, Warehouse, and Database along with the SQL statement, but it keeps returning the error message below.
This is the SQL statement.
select os.*,oa.* FROM PRODUCTION.MARKETING.DIMENSONS_ORDERSSUMMARY OS
inner join PRODUCTION.MASTER_DIMENSIONS.DIMENSIONS_ORDERAPPOINTMENTS oa on oa.order_id=os.fk_order_id and oa.location_type=os.location where os.FK_ORDER_ID is not null and oa.status_=1
Can anyone help me understand what is causing this?
Solved! Go to Solution.
Hello @ERing ,
This is giving error while connecting. You are selecting everything from both the tables (os.* and oa.*) and most probably "Field ID " is present in both the table. I would suggest selecting required columns only with corresponding reference like oa.order_ID as Order_ID, os.location as Location etc.
I hope this helps .
Did I solve your problem, if yes please mark this as solution.
Cheers
Hi @ERing ,
Did divyed and danextian suggestions solve your confusion, and if the problem has been solved, you can mark the standard answer in your reply to help other members find the answer faster. If not, please point it out.
Best Regards,
Neeko Tang
Hello @ERing ,
This is giving error while connecting. You are selecting everything from both the tables (os.* and oa.*) and most probably "Field ID " is present in both the table. I would suggest selecting required columns only with corresponding reference like oa.order_ID as Order_ID, os.location as Location etc.
I hope this helps .
Did I solve your problem, if yes please mark this as solution.
Cheers
That is normally the error if you're trying to create a column which name already exists? Are you building the query in the query editor from scratch or just editing the source applied step?
I am using the "Get Data" option.
What I meant was is that an existing query and you're simply editing the connection or a totally new one without additional steps other than the source and navigation?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 48 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 126 | |
| 102 | |
| 67 | |
| 50 |