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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
chienim
Frequent Visitor

Security aspect: Direct Query vs import

Hello,

 

Recently I'm playing Power BI with data and reports,

This is a general question:

From Security point of view, is there any advantage or disadvantage, between using DirectQuery or Import?

 

What I mean is I understand when using import security can be filtered at Power BI level,

and if use DirectQuery security setting goes to Data Source level,

 

but cannot see further if there's any functional difference between those 2(in security).

 

Anyone have any best practice or thoughts are appreciated.

Thanks!

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@chienim

 

As you said, using import security can be filtered at Power BI level since the data has been loaded into Power BI Desktop. And for direct query, the security is controlled on data source side. There's no other functional different on security aspect. For choosing direct query or import, you need to consider the data amount (1GB limit for dataset size) and refresh frequency. Please refer to a blog below:

 

Power BI – Live connection vs. Import, comparison and limitations

 

Regards,

View solution in original post

3 REPLIES 3
v-sihou-msft
Microsoft Employee
Microsoft Employee

@chienim

 

As you said, using import security can be filtered at Power BI level since the data has been loaded into Power BI Desktop. And for direct query, the security is controlled on data source side. There's no other functional different on security aspect. For choosing direct query or import, you need to consider the data amount (1GB limit for dataset size) and refresh frequency. Please refer to a blog below:

 

Power BI – Live connection vs. Import, comparison and limitations

 

Regards,

Taking this question a bit further.  As an admin I would like to prevent end users from importing data directly via the "get data".

1. Is there any way to secure the Import vs. Direct Query functionality?  In other words can I disable "import"?

2. Are there other methodologies for achieving the same end?  In other words can we prevent specific types of data sources at the Power BI level - or (in a simple scenario) do we modify the DB security to prevent direct connection to underlying tables and only allow access to views in a DB or a tab / olap model in SSAS...?

 

Thanks for any advice around security concerns between developers and users.  Our goal is to give the user as much self-service functionality as possible without constantly "importing" the same or similar data sets in an enterprise implementation.

 

Thanks again,

Nick

Anonymous
Not applicable

1. Is there any way to secure the Import vs. Direct Query functionality?  In other words can I disable "import"?

 

Has this question been answered in the meantime? 

Would be also relevant for me.

 

Thanks, 

Bettina 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.