Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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?
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.
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.
@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.
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
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.