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! Learn more

Reply
TriveniN
Helper II
Helper II

How to connect power bi share point folder and refresh only lastest 5 files from that folder

I need to connect power bi share point folder and refresh only lastest 5 files from that folder and file names like below from folder.

 

Labour cube - 2024.07 Jul.xlsx

Labour cube - 2024.06 May.xlsx

Labour cube - 2024.04 Apr xlsx

Labour cube - 2024.03 Mar.xlsx

Labour cube - 2024.02 Feb xlsx

Labour cube - 2024.01 Jan.xlsx

Labour cube - 2023.12 Dec.xlsx

 

Kindly Let me know if any suggestions are there?

 

 

1 REPLY 1
bhanu_gautam
Super User
Super User

@TriveniN , Go through this video

 

https://youtu.be/hpWOxDz4OKg?si=0dHg0ofnybR697xn

 

Add a filter to include only files that match the pattern "Labour cube - YYYY.MM MMM.xlsx".
Click on the drop-down arrow in the Name column.
Select Text Filters > Contains.
Enter "Labour cube" and click OK.
Sort Files by Date:

If your file names include the date in a sortable format (e.g., YYYY.MM), you can sort by the Name column.
Otherwise, sort by the Date modified column.
Click on the drop-down arrow in the Date modified column.
Select Sort Descending.
Keep Only the Latest 5 Files:

Use the Keep Top Rows function to keep only the latest 5 files.
Go to the Home tab.
Click on Keep Rows > Keep Top Rows.
Enter 5 and click OK.




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






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