Forum Discussion

juan jimenez's avatar
juan jimenez
Iron Contributor
Dec 06, 2021

power query add column with file name

hi, can someone help me :   1) adding the appropiate command so that i get in the final excel chart the filename for eacht line of data? 2) explaining why is this line used for "#"Invocar función...
  • SergeiBaklan's avatar
    SergeiBaklan
    Dec 06, 2021

    juan jimenez 

    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.

Resources