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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
kdas
Regular Visitor

File Path

Hello! How do I connect PowerBI to the latest file without manually updating the source file path?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Use a folder connector, not a file connector.

Sort the files in the folder by created Date descending (for example)

grab the first item (Row 0   aka  {0}  )

View solution in original post

5 REPLIES 5
Kedar_Pande
Community Champion
Community Champion

Take a look at this video: https://youtu.be/pHDRKNjuwmU?si=mCpZO7WrTFhrN1fa

Your Kudos/Likes are much appreciated!

If this post helps, please consider Accepting it as the solution to help the other members find it more quickly.

Regards,

Kedar Pande

www.linkedin.com/in/kedar-pande
v-denglli-msft
Community Support
Community Support

Hi @kdas ,

May I ask if you have gotten this issue resolved?

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster .

Thank you very much for your kind cooperation!


Best Regards,
Dengliang Li.

lbendlin
Super User
Super User

Use a folder connector, not a file connector.

Sort the files in the folder by created Date descending (for example)

grab the first item (Row 0   aka  {0}  )

There are multiple files dropping daily to the same folder path. ie, salesdata_20241001, salesdata_20241002, productdata_20241001, productdata_2024102 so on..

 

How do I ensuring PowerBi is pulling the latest Product data file from the shared folder?

Filter by "starts with product", sort descending, grab row {0}

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.