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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ashutosh
Helper I
Helper I

Hstore value giving error in Power BI

I have hstore values in my table (postgres), when I am uploading this table in the Power BI values in the column are either null or Error.  I am getting this error for the error values DataSource.Error: An error happened while reading data from the provider: 'We don't support CLR type 'System.Collections.Generic.Dictionary`2[System.String,System.String]'.'

9 REPLIES 9
Prasannakumar
New Member

@mgoltsman 

can you explain it how we can do in postgres,writing the query based on the particular column

 

1. in pgadmin create SELECT query with params:

SELECT 'a=>1,a=>2'::hstore;
  hstore

and copy it

2. open power bi

3. click on Get Data button and select postgres

4. input data of connection and click advanced options

5. Paste from clipboard SQL Query 

Hello!

I have the same problem. 

Have already existed soem workaround for this issue?

And also would like to ask about more details regarding this query (what I need to fill instead of a and so on):

SELECT 'a=>1,a=>2'::hstore;
  hstore

 

Prasannakumar
New Member

Hi @mgoltsman

can you give the solution briefly which u shared on the above 

 

v-shex-msft
Community Support
Community Support

Hi @ashutosh,

 

Can you share some detail content of your issue? (e.g Screenshots, query...) Does this issue appears on desktop or service?

 

Regards,

Xiaoxin Sheng

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

image.pngdatabase.png

 

This issue I am facing on desktop.

Hi @ashutosh,

 

Based on test, current power bi seems not support to direct import hstore type, perhaps you can convert it to text, then import to power bi desktop.

 

In addition, you can also post this requirement to ideas. 

 

Regards,

Xiaoxin Sheng

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

Anyone, has solution for my query? Please.

I had problems like yours, but with postgis. 

You can try like this:

 

1. in pgadmin create SELECT query with params:

SELECT 'a=>1,a=>2'::hstore;
  hstore

and copy it

2. open power bi

3. click on Get Data button and select postgres

4. input data of connection and click advanced options

5. Paste from clipboard SQL Query 

 

I hope this helps you

I have column which has values in hstore data type in postgres sql. When I get the data from the table these values are not showing in the Power BI. I am getting error DataSource.Error: An error happened while reading data from the provider: 'We don't support CLR type 'System.Collections.Generic.Dictionary`2[System.String,System.String]'.'

 

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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