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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
v-jingzhan-msft
Community Support
Community Support

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

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
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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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