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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
v-shex-msft
Community Support
Community Support

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

 

 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors