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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Zzema
Frequent Visitor

Power BI with views on Google BigQuery

When i try to get data from Views and tables on Google BigQuery use (ODBC),

That leaves the following error:
An element with the current key has already been added.

But with some another tables all ok,

 

Error Message:

An element with the same key has already been added.

Stack Trace:

Microsoft.Mashup.Evaluator.Interface.ErrorException: An element with the same key has already been added. ---> Microsoft.Mashup.Evaluator.Interface.ErrorException: An element with the same key has already been added. ---> System.ArgumentException: An element with the same key has already been added. ---> System.ArgumentException: An element with the same key has already been added.
   In the System.Collections.Generic.Dictionary`2.Insert (TKey key, TValue value, Boolean add)
   In Microsoft.Internal.DictionaryTracing.AddWithTracing [K, V] (IDictionary`2 dictionary, K key, V value, IEngineHost host)
   In Microsoft.Mashup.Engine1.Library.Odbc.OdbcColumnInfoCollection. <EnsureInitialized> b__0 (IOdbcConnection connection)
   In Microsoft.Mashup.Engine1.Library.Odbc.OdbcDataSource. <> C__DisplayClassf. <Connect> b__e (IOdbcConnection connection) etc
  

 

1 ACCEPTED SOLUTION

When I use another connector ( with R), thats all ok for me

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Zzema,

 

>>An element with the same key has already been added.

Based on the error message, it seems like there are 2 or more columns with the same name in your query. Please double check these query to ensure your columns in the query has the unique name.

 

Regards,

XIaoxin Sheng

 

 

When I use another connector ( with R), thats all ok for me

Zzema
Frequent Visitor

Anybody can help me?

Maybe this is due to the fact that the ODBC connector is not working properly?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.