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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Anonymous
Not applicable

@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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@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

Hi,

setting up proper permissiones for all tables solved the problem

Thank you.

Hupos

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors