Forum Discussion
How to edit sheet name in Excel doc when source is a folder
- 4 years ago
Hi, MichaelF1
I probably understand what you mean, but you may need to change your thought and try to use dynamic data sources by using different dates in table names.
You can refer to it first:
Solved: Dynamic Excel name handling in Power BI - Microsoft Power BI Community
Solved: Re: 2 Parameters - Microsoft Power BI Community
Then if you have any specific questions, please feel free to ask me.
Best Regards,
Community Support Team _ JaneyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-janeyg-msft , thanks for your suggestion but unfortuantely this does not give me the result I need. If I click the Binary hyperlink as in your suggestion, I get the dialogue box below:
If I click continue, then all my subsequent steps in power query are erased - so I have to start my query almost from scratch gain. I definitely don't want this!
What I want is just to be able to change the name of the sheet that power query looks for, but keeps everything else in the query as it is.
Thanks again,
Michael
Hi, MichaelF1
I don't understand your question very well, as I mentioned before, it is impossible for powerbi to modify anything in the source data, it can only modify the content displayed in powerquery or desktop.
But I don't see the table name appearing in your steps. Why do you want to modify it? What is the role of what you are trying to modify in pq?
Best Regards,
Community Support Team _ Janey
- v-janeyg-msft4 years ago
Community Support
Hi, MichaelF1
I probably understand what you mean, but you may need to change your thought and try to use dynamic data sources by using different dates in table names.
You can refer to it first:
Solved: Dynamic Excel name handling in Power BI - Microsoft Power BI Community
Solved: Re: 2 Parameters - Microsoft Power BI Community
Then if you have any specific questions, please feel free to ask me.
Best Regards,
Community Support Team _ JaneyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- MichaelF14 years ago
Helper III
Hi v-janeyg-msft ,
Sorry if I wasn't clear, I think I've confused myself! Let me start again and ask my question in a different way:
I have a folder of multiple xlsx files as a data source for PBI - (all the same format, but with data for different months). If I want to change one or more of these xlsx files at a later date, do I need to ensure that the sheet names remain the same, for my Power Query code to work?
Thanks again
Michael
- MichaelF14 years ago
Helper III