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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.