Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

The Day I Been Dreading

I knew this day would come:  I have a source file (Excel) that I get every week and load to Power BI.  Two new columns have been added to this file, and will be included in all files going forward.  I need these columns for reporting.  How do I successfully refresh this file and bring the new columns into my reporting?

 

Thank you,

 

7 Replies

  • PaulDBrown's avatar
    PaulDBrown
    Icon for Community Champion rankCommunity Champion

    Select the whole data range in the file and make it a table (ctrl + t). Reference this table in the import phase in PQ  (you can create a new query to import the table and then copy the relevant M Code and substitute the corresponding M code in the original query)

    By importing a table from Excel, any rows or columns added will be included in the import phase in PQ

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks, Paul.

      This is a file that I will upload weekly or daily.  I  don't want to be touching it everytime I want to refresh.  Is there another way?

      • PaulDBrown's avatar
        PaulDBrown
        Icon for Community Champion rankCommunity Champion

        How is the Excel file created? Would saving it as a csv file be an option?