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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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