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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
JavierGP
Regular Visitor

Error when loading same table from different Snowflake accounts

I'm trying to create a Power BI report to load the same metadata table from two different Snowflake accounts. I have two Snowflake accounts, with different aliases and locators. In both Snowflake accounts, I have a table with the same name and columns, located in the same schema and database in both accounts. However, the number of records and data in each is different.

 

When I load these two tables into a Power BI report using the Snowflake connector and then refresh the report, the content in both tables is the same. Sometimes it may be from one of the two accounts and sometimes from the other. However, in the "Table" view, you can see that the content in both tables is the same. The query for each table is using a different Snowflake account (and the same warehouse name), but the content in both tables is from one of the two accounts. I've even noticed that when I try to load a new table with the Snowflake connector and enter the Server field for one of the two Snowflake accounts in the browser, it ends up showing me the databases from the other account.

 

I've also tried loading one of the two tables with a native select * query, and adding an additional field to the select, but the same thing ends up happening.

 

How can I prevent this behavior?

6 REPLIES 6
v-nmadadi-msft
Community Support
Community Support

Hi @JavierGP  ,
Thanks for reaching out to the Microsoft fabric community forum.

Currently, the Snowflake connector implementation 2.0 has the following known issues. There's ongoing work towards a fix 
- Snowflake query with count distinct logic returns incorrect result.


- When creating relationships, encounter error Object reference not set to an instance of an object. The relationship can still be defined once you cancel the pop-up window.
It is possible that may be the cause of the error you are experiencing.

Additionally, it is recommended to upgrade to the Power BI Desktop and on-premises data gateway to the latest version to benefit from the most current capabilities of Snowflake connector implementation 2.0.

I hope this information helps. Please do let us know if you have any further queries.
Thank you

JavierGP
Regular Visitor

Additional information: If I use the 1.0 implementation of the connector 👇, it works fine, the 2 tables appear with different numbers of rows and content in the table view.

 

JavierGP_1-1758087120159.png

JavierGP_3-1758087260609.png

 

rohit1991
Super User
Super User

Hi @JavierGP 

This happens because Power BI sees both Snowflake sources as identical (same schema/table names) and reuses metadata. To fix it, make the connection strings unique in Power Query. In Advanced Editor, define each source separately, for example:

Source_Acc1 = Snowflake.Databases("account1.snowflakecomputing.com", "WAREHOUSE1"),
Source_Acc2 = Snowflake.Databases("account2.snowflakecomputing.com", "WAREHOUSE2")

 

This way Power BI treats them as two different sources and won’t mix the data.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

I was using different sources... 

JavierGP_0-1758014328655.png

 

Hi @JavierGP 

It looks like both queries still have the same navigation steps and final query names (DIM1_COUNTRY), so Power BI treats them as the same object. Even if accounts are different, the query folding step causes duplication.

 

Try these fixes:

1. In Advanced Editor, rename each query with a unique step name:

e.g., DIM1_COUNTRY_ACC1 and DIM1_COUNTRY_ACC2.

 

2. Make sure the Source step explicitly includes the full account URL + DB + Schema.
Example:

Source1 = Snowflake.Databases("account1.snowflakecomputing.com"),
DB1 = Source1{[Name="DB1",Kind="Database"]}[Data],
Table_ACC1 = DB1{[Name="DIM1_COUNTRY",Kind="Table"]}[Data],
Source2 = Snowflake.Databases("account2.snowflakecomputing.com"),
DB2 = Source2{[Name="DB2",Kind="Database"]}[Data],
Table_ACC2 = DB2{[Name="DIM1_COUNTRY",Kind="Table"]}[Data]

 

3. Load them with different names into the model so they don’t overwrite each other.

 

This way, Power BI keeps them as separate queries and won’t mix up the data.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

I tried with this 👇and it didn't work 

JavierGP_0-1758086744409.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors