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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to get a new excel data stored in SharePoint into Power BI

I have several Excel sheets stored in the SharePoint document library. I can import all of them into Power BI manually using SharePoint Folder source connection, which is smooth sailing at the moment. However, my concern is that these excel sheets won't be the only ones used in the report. That is, a new excel sheet will be added to SharePoint on a monthly basis. My question here is then how do I make sure that the new excel sheet is also loaded into Power BI. Is there any function I can use in power query to confirm whether there is a new excel sheet stored in my SharePoint document library and if so, then combine it with another excel sheet and load it into Power BI? Can anyone please tell me the workaround this? 

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Unfortunately, the current version cannot realize this idea. It is impossible to change the color of data bars in table visual as the value changes. Please submit your idea.
Ideas (powerbi.com)
 

 

Create a new query in Power Query, copy the M code of the newly added sheet to the new query, and quickly import the newly added sheet.

 

Untitled - Power Query Editor 2021-04-06 11-02-17_Trim.gif

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

AllisonKennedy
Super User
Super User

@Anonymous Not sure I understand - if you're using the SharePoint folder it can pull through all Excel files in that folder, then you can invoke custom function on that folder to get the data from the sheet in each Excel file.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

@Anonymous 

 

If you try the Get Data > From Folder you'll see how the combining of files creates a query with parameters, or see my post on parameters in Power Query: Use Parameters to Combine Data 


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.