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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

PostgreSQL- Publish Error

I'm having an issue around published dashboard that connect to PostgreSQL that do not work.  From my Power BI desktop, I can connect to PostgreSQL and build a (direct query) viz with no issues.  I can even publish and get the "success" window.  However, when I go to view the published dashboard, I get an access error about credentials.  

 

ebobrya_1-1630613429425.png

 

ebobrya_0-1630613394867.png

I have not modified anything on the PostgreSQL/ AWS side, but I'm wondering if there is something outside of Power BI that needs to be modified (maybe ralated to SSL)?

 

Thank you.

 

Thank you in advanced

 

 

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

Enter the datasets settings in the power bi service, and edit the credentials under the data source credentials.

If the server is on-premises, you'll also need to configure the gateway and make sure it works.

 

error:

vangzhengmsft_0-1630903867455.png

Click on Settings->Datasets and edit the credentials:

vangzhengmsft_1-1630903977517.png

For reference:

https://carldesouza.com/using-direct-query-vs-import-with-power-bi/

https://stackoverflow.com/questions/58616839/powerbi-online-vs-desktop-credentials-for-sql-server

 

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
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

1 REPLY 1
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

 

Enter the datasets settings in the power bi service, and edit the credentials under the data source credentials.

If the server is on-premises, you'll also need to configure the gateway and make sure it works.

 

error:

vangzhengmsft_0-1630903867455.png

Click on Settings->Datasets and edit the credentials:

vangzhengmsft_1-1630903977517.png

For reference:

https://carldesouza.com/using-direct-query-vs-import-with-power-bi/

https://stackoverflow.com/questions/58616839/powerbi-online-vs-desktop-credentials-for-sql-server

 

 

Hope this helps.

 

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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors