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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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