Forum Discussion

Jawed's avatar
Jawed
Helper III
8 years ago
Solved

Change Column Header Name

I am running my financial dashboard and as one year is now completed, I am trying to replace my budget for a new one. So, the budget column heads used to be called 1/1/2017 and now this is changing to 1/1/2018. However, if I change the header, the update will give me an error saying that the column header has changed. I need to change the header because my comparison between budget and actuals will not work as I change the year to 2018. Any tip on how to change the header and make Power BI to accept the new header name?

  • Hi Jawed,

     

    I would suggest renaming columns in the Query Editor where is dedicated to shape data (customize). If we change the column name in the source, some steps that cite the column name directly could be destroyed. 

    Change_Column_Header_Name2

     

    Best Regards,

    Dale

4 Replies

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi Jawed,

     

    Where did you change the column header? I would suggest you change it in the Query Editor by adding a new step.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Best Regards,

    Dale

    • Jawed's avatar
      Jawed
      Helper III

      Hi v-jiascu-msft

       

      The name changes were made on the spreadsheet where the data is pulled from as the new data relates to the new year. However, the rest of the data structure is the same. Would you suggest that I rename both the columns in the Power BI and the data spreadsheets?

      • v-jiascu-msft's avatar
        v-jiascu-msft
        Microsoft Employee

        Hi Jawed,

         

        I would suggest renaming columns in the Query Editor where is dedicated to shape data (customize). If we change the column name in the source, some steps that cite the column name directly could be destroyed. 

        Change_Column_Header_Name2

         

        Best Regards,

        Dale