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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
jeongkim
Post Prodigy
Post Prodigy

Getting data from sharepoint folder when have new sheet added which doesn't exist in previous files

Hi,

 

I have monthly files and fetching data from shrepoint folder assigning particular sheet name in query. 


The issues is, it used to have e.g. sheet name '2024 5G PO' until last month but from this month file("CT SK_5G Bottom up plan_20240308update_v1.0.xlsx"), it has new sheet '2025 5G PO'.

So it can't be found from original First File of 'Sample File'. 

 

If I forcely filter descending order to get '2025 5G PO' sheet from the latest file "CT SK_5G Bottom up plan_20240308update_v1.0.xlsx" cuz we need to? choose First File as a sample, then got error like below cuz it is not in previous excel files. 

 

'Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [Expression.Error] The key didn't match'

 

jeongkim_0-1710399830241.png

 

 

5 REPLIES 5
christinepayton
Super User
Super User

The folder query creates a folder full of helper objects - one of those objects also has a reference to the source that you'll want to update. If you click through them all and look at the advanced editor or first step you should find it in there somewhere-- 

Hi, 

That's my point that manual selection won't help cuz it requires manual inputs every single time.

Sheet A is in file 1, 2, 3 and Sheet B is newly added and only in file 3. 

If I add Sheet B name in advanced editor then other file 1,2 got error cut they dont have Sheet B.

Do they have the same column structure? Usually if you're working with multiple tables you want to combine, it's better to put them in separate files and then use the folder connector to combine the files. Not sure if that's an option for you, but if you're, say, adding a tab each month right now you'd instead just drop another file in the folder and it'd auto-grab it when it refreshes. 

Yeah they have exaxt the same column structures but as we know sometiems people don't want to chnage the template. 

I combin all the sheets in Power query using append but I need to allocate newly added sheet name to get the values,, and this is what I need to combine automatically. 

amitchandak
Super User
Super User

@jeongkim , you need to check all these steps. There are chances the column names are also changed. So you need check rename, datatype change steps for column names.

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Top Solution Authors