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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
rpinxt
Power Participant
Power Participant

Direct query and sharepoint excel sources

Is it possible?

 

I have a model with SQL data on direct query, works just fine.

Now I need as information within the model some data that comes from an excel sheet.

Loaded the excel on a sharepoint site.

Meaning is that users can maintaine data in that sheet.

 

Now my dataset autorefreshes because it is a direct query.

So I am trying to link my sharepoint excel file in also as a direct query.

But where it normally asks if you want to import or direct query it does not when I use the sharepoint excel as a source.

 

Is there a way around and still use the excel file as a direct query?

Setting up a refrsh schedule because it is import makes no sense because there are not fixes times the data in the sheet gets updated.

We just need the latest data to show.

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @rpinxt - Direct query for Excel files in SharePoint is not natively supported. Using a database or Power Automate to maintain real-time updates is the most effective workaround. 

 

alternative approach:

Load the Excel data into a database (e.g., SQL Server or Azure SQL Database).

Use direct query in Power BI to connect to the database for real-time updates.

Automate the Excel-to-database process using tools like Power Automate or Azure Data Factory.

 

Hope this helps.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
rpinxt
Power Participant
Power Participant

@rajendraongole1 ok thanks for pointing this out.

If it cannot be done (easily) then it just ends there.

Thanks.

rajendraongole1
Super User
Super User

Hi @rpinxt - Direct query for Excel files in SharePoint is not natively supported. Using a database or Power Automate to maintain real-time updates is the most effective workaround. 

 

alternative approach:

Load the Excel data into a database (e.g., SQL Server or Azure SQL Database).

Use direct query in Power BI to connect to the database for real-time updates.

Automate the Excel-to-database process using tools like Power Automate or Azure Data Factory.

 

Hope this helps.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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