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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Failed to update data source credentials for postgreSQL server in PowerBI Service

This happens in the PowerBI Service when i publish my report from PowerBI Desktop.

Screenshot 2024-05-13 131412.png

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

 

If your PostgreSQL is not hosted in a cloud environment which allows direct connection from the Power BI services, you'll need to use an on-premises data gateway for refreshing data from the Power BI Service. Please see Prerequisites section from Power Query PostgreSQL connector - Power Query | Microsoft Learn

 

In your scenario, you probably need to use an on-premises data gateway. Once you have installed and configured a gateway, you need to add the PostgreSQL data source to that gateway. The crendentials to access the PostgreSQL data source is configured when adding the data source. Then after you publish a report to the Power BI Service, you can go to its settings page and select that gateway for refreshing the semantic model which is used in the report. 

On-premises data gateway - Power BI | Microsoft Learn

 

If you are not familiar with the on-premises data gateway, you may find the following blog helps a lot!

The Power BI Gateway; All You Need to Know - RADACAD

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

amitchandak
Super User
Super User

@Anonymous , Go to Semantic Model in Workspace- > Click on three Dots and open setting -> Go to Data Source credentials and try to update those

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Already i have tried this and as a result getting me this below which user credentials are correct.

Screenshot 2024-05-13 150958.png

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.