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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.