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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Hupos
New Member

PostgreSQL refresh doesnt work from Power BI enterprise gateway.

We are having trouble with data refresh of PostgreSQL database from enterprise PowerBI gateway, but direct connection and refresh from PowerBI desktop works well. Every scheduled refresh we get these errors in enterprise gateway logs:

GatewayPipelineErrorCode=DM_GWPipeline_Gateway_MashupDataAccessError
Reason= --->
[1]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.GatewayPipelineWrapperException: Substituted: MashupValueException:<pi>Microsoft.Data.Mashup.MashupValueException (0x80004005): The key didn't match any rows in the table.

 

So far we have tried to update the gateway and also the PowerBI desktop, Postgre SQL data source connects flawlessly in gateway configuration, but refresh doesnt work for us.

I would appreciate any help with this issue because the log isnt clear to me.

Thank you

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Hupos,

In your scenario, please check that if your account that used to connect to PostgreSQL database has sufficient permissions on the tables you imported into Power BI.

If there is no issue with permission, please delete the data source under gateway and re-connect the data source, make sure connection strings of the data source under gateway are same as that in Power BI Desktop.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Hupos,

In your scenario, please check that if your account that used to connect to PostgreSQL database has sufficient permissions on the tables you imported into Power BI.

If there is no issue with permission, please delete the data source under gateway and re-connect the data source, make sure connection strings of the data source under gateway are same as that in Power BI Desktop.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

setting up proper permissiones for all tables solved the problem

Thank you.

Hupos

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors