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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
kolousekjan
Frequent Visitor

Power BI Embedded - PosgreSQL - DirectQuery

Hi,

Could someone please help me determine if what I want to do is possible?

  • I have a Power BI embedded report that I want to show to my customers. Each customer views the report through a filter, ensuring they only see their own data. The report connects via an on-premises gateway running on a VPS to a PostgreSQL database hosted on a different server.

My report operates in dual mode, but all connections to PostgreSQL are set up as direct queries.

The problem is that when I update something in the database, the changes do not reflect in the embedded report. Essentially, this solution is not working as expected.

 

Thank you.

2 REPLIES 2
vladm-datanaut
Frequent Visitor

Hey @kolousekjan ,

Power BI Embedded works with DQ connections. Have you enabled "change detection" on the pages where you use the DQ sources?

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-automatic-page-refresh 

We use this with power bi embedded environments where we writeback from the app into the underlying DB and the changes reflect on the embedded report.

Cheers,
Vlad

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi  @kolousekjan ,

 

You can consider using a tool like SQL profiler for PostgreSQL database to capture the query statements that Power BI sends to the data source when updating some content in the database, combined with RLS filtering, and then you can execute the captured SQL statements to the PostgreSQL database to check whether the returned data is updated. In addition, if you are updating a table imported from the database in import mode, the Power BI report will not be updated in real time until the next data refresh is successful.

ubiq.co

Using standard cloud based row-level security with embedded content in Power BI embedded analytics -...

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.