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
PowerWhy
Helper IV
Helper IV

Appending the first x number of files from a OneDrive folder

Hello,

 

I understand it's possible to append all the files together from a OneDrive folder, but please could you tell me if it's possible to append only, say, the first 30 files (by modified date or by alphabetical order).

 

Thank you!

 

PW

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PowerWhy ,

 

Please refer to this document to connect to onedrive using the sharepoint folder connector.

https://<unique_tenant_name>.sharepoint.com/personal/<user_identifier>

SharePoint and OneDrive for Business files import - OneDrive for Business experience

vcgaomsft_0-1736819924191.png

All files are shown here, you need to find the [Folder Path] field and filter the folder path.

vcgaomsft_1-1736820008049.png

Next you can sort the files and keep the first thirty.

vcgaomsft_2-1736820150472.png

vcgaomsft_3-1736820361651.png

vcgaomsft_4-1736820391581.png

Finally click on this button to append the query to all files.

vcgaomsft_5-1736820463611.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @PowerWhy ,

 

Please refer to this document to connect to onedrive using the sharepoint folder connector.

https://<unique_tenant_name>.sharepoint.com/personal/<user_identifier>

SharePoint and OneDrive for Business files import - OneDrive for Business experience

vcgaomsft_0-1736819924191.png

All files are shown here, you need to find the [Folder Path] field and filter the folder path.

vcgaomsft_1-1736820008049.png

Next you can sort the files and keep the first thirty.

vcgaomsft_2-1736820150472.png

vcgaomsft_3-1736820361651.png

vcgaomsft_4-1736820391581.png

Finally click on this button to append the query to all files.

vcgaomsft_5-1736820463611.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Ashish_Mathur
Super User
Super User

Hi,

I am not sure but try this.  Once the tables of that folder load in the Query Editor, click the Keep Rows button in the ribbon and type 30 there.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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