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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
GulianiG
Helper II
Helper II

Unable to access SP file names using SharePoint.Contents over SharePoint.Files

The query below is to access the right SharePoint folder

GulianiG_0-1694284521032.png

The problem I am having is in another referenced query named "Emp_Snapshot_Dim" I am not able to access file names
It is only showing sub-folders as name- not actual file names within the sub-folders
How can I get file names because I need to extract the date from file name

GulianiG_1-1694284719117.png

Thanks, I can come on a screen share with anyone willing to help- thanks

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

With SharePoint.Contents you need to do the navigation yourself. It will not automatically include all the names from all the files in all the subfolders the way Sharepoint.Files does it.

View solution in original post

2 REPLIES 2
GulianiG
Helper II
Helper II

Thanks @lbendlin 
As advised, I just had to click the expland icon on Content and I got all the file names

GulianiG_0-1694447660484.png
Can you help with a related question?
https://community.fabric.microsoft.com/t5/Power-Query/SharePoint-Contents-vs-SharePoint-Files/m-p/34...

 

lbendlin
Super User
Super User

With SharePoint.Contents you need to do the navigation yourself. It will not automatically include all the names from all the files in all the subfolders the way Sharepoint.Files does it.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Kudoed Authors