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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
FAMH
Frequent Visitor

Excel file name Chaging in Power Query

Spoiler
 

Hello Community , 

 

  I am loading an excel file to Power BI  ,sotred in Azure Blob Storage, . This  excel file is changing name every Hour .When I refresh data, I get the error the file name does not excist because the previous was deleted and a new one excist . Is there a solution or an effecient approach knowing , I do not have the option to get the excel file name not changing  

 

 

Best Regards 

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

If there is just a single file in that folder, you can use the {0} syntax to get the first record/file (instead of directly referencing the file name). In your query, get to the step that shows the files, hit the fx button near the formula bar and then add {0} to the previous step reference.

 

Pat

 

Microsoft Employee
FAMH
Frequent Visitor

Thank for taking time to answer and your help . There is multiple files in the forlder . 

 

Best Regards 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.