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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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