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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mmossel
Microsoft Employee
Microsoft Employee

DirectQuery Security Governance

Situation:

A company wants every employee to be able to use DirectQuery and understands well how technically they should build the architecture in such a way that the performance is good. It will be Postgres Hyperscale DWH that connects to PowerBI. The concern is regarding security governance because there is sensitive data.  

 

Problem:

  1. Power BI doesn’t support direct query via OData (however OData protocol allows for it)
  2. On direct query Power BI doesn’t cache the data in the user instance of the report, so every time a user clicks on a chart it generates a new query.
  3. If we don’t use direct query, Power BI cache the data in the report for all users and hence we need to replicate the security model.

Questions:

  1. Is there a way we can configure Power BI Reports to only cache data for the instance of the user and not the report regardless if we use direct query?
  2. Is there a way for Power BI to do direct queries via OData but then cache the data for the user for that instance to reduce load on the DB?
  3. Is there a solution to inject our security model before we query the database without creating the user on the database for multiple reporting solutions?
  4. Is there a feature in Azure to easily create OData API’s on a database and still inject security?
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mmossel ,

 

Answers:

1. No, there're three connection modes in Power BI. There is no connection mode that meets this condition.

    You can refer to DirectQuery, Live Connection or Import Data? Tough Decision!

 

2. OData does not support Direct Query. You find it in Power BI data sources.

 

For question 3 and 4, what's the meaning of injecting security?

 

 

Best Regards,

Stephen Tao

 

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
Anonymous
Not applicable

Hi @mmossel ,

 

Answers:

1. No, there're three connection modes in Power BI. There is no connection mode that meets this condition.

    You can refer to DirectQuery, Live Connection or Import Data? Tough Decision!

 

2. OData does not support Direct Query. You find it in Power BI data sources.

 

For question 3 and 4, what's the meaning of injecting security?

 

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors