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
vjnvinod
Impactful Individual
Impactful Individual

Excel name change

Below is my excel source location.

Excel.Workbook(File.Contents("C:\Users\Vinod.Vijayan\Desktop\TMT Processes\Power BI Projects\Region trade flow automation project\Engagment data monthly Input\Pipeline\Global TMT Sales and Pipeline Listing FY20 P8 WK2.xlsx"), null, true),
    Wins_Sheet = Source{[Item="Wins",Kind="Sheet"]}[Data],
    #"Promoted Headers" = Table.PromoteHeaders(Wins_Sheet, [PromoteAllScalars=true])

I was trying to figure out a way  to dynamically change the source

For instance, my current source is excel with below name

Sales and Pipeline Listing FY20 P8 WK2.xlsx

Is there a way I can use file name contains “Sales and Pipeline Listing”? so that I don’t have to keep changing the source.

 

 

 

 

 

 

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hi @vjnvinod ,

 

Maybe you can refer to Updating a Changing Data Source File Name  .

 

Best regards,
Lionel Chen

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

Daviejoe
Memorable Member
Memorable Member

Hi @vjnvinod 

 

Will this be the only file in this folder?  If so just use Get Data from Folder.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@ImkeF , can you help?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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