Forum Discussion
power query add column with file name
- Dec 06, 2021
That's bit hard to do since I don't recognize names you use. If by steps:
Check generated master query which shall be in Other Queries
find Removed Other Columns1 step and click on gear.
Transform File column is always selected, select Source.Name and, if necessary, any other column(s) with file metadata. Click Ok.
Please note, Power Query could add this column automatically. Perhaps depends on version, not 100% sure.
Thank you very much for the answer and explanation.
I have not deleted the file name column but when I get the data from the files and I cannot see in column with that file name.
What instructions should I use in order to get the file named into the final chart?
Thank you, Juan
juan jimenez Sorry! Can't help without access to your system.
- juan jimenezDec 06, 2021Iron ContributorIs it not possible to add a line to the above commands show that the file name appears in the final data?
If this is the case, could it be possible that I sent the Excel with the power query? How?
Thanks, juan- SergeiBaklanDec 06, 2021Diamond Contributor
- juan jimenezDec 06, 2021Iron ContributorSorry for being so useless but I have tried it unsuccessfully. Could you help chaging what it has to be done in the above commands so that I copy paste in my power query editor?