Forum Discussion

Rnaval's avatar
Rnaval
Icon for Post Partisan rankPost Partisan
1 year ago

Adding or Deleting a column in Excel

I'm using an excel file and when I add or delete a column, the change does not automatically appear in Power BI, I get errors when refreshing data. Is there a seamless way to make changes to my excel file without causing Power BI issues when refreshing?

 

 

9 Replies

  • MNedix's avatar
    MNedix
    Icon for Solution Sage rankSolution Sage

    Heya,

    Yes. Go to Transform Data (Power Query) -> Select your Table -> Go to Advanced Properties -> in the Let section look for Column = <number> and replace the number with "null" (without quotes) - see below.

     

    • Rnaval's avatar
      Rnaval
      Icon for Post Partisan rankPost Partisan

      I don't see the Advanced Properties option, I see an error message that column 22 was not found. I can get into the advanced editor but there is no option for column specified there

  • MNedix's avatar
    MNedix
    Icon for Solution Sage rankSolution Sage

    The Advanced Properties are on the Home tab of Transform Data in PowerBI. You are probably looking at Excel.

    • Rnaval's avatar
      Rnaval
      Icon for Post Partisan rankPost Partisan

      Here's the Transform Data window / Home tab, not seeing Advanced Properties...

       

       

      • MNedix's avatar
        MNedix
        Icon for Solution Sage rankSolution Sage

        Sorry, it was Advanced Editor

         

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Rnaval ,

    Based on the description, when add a column in excel file, saving the change. the added column data appear in Power BI when refreshing data.

    The number column appear in Power BI when refreshing data.

    Besides, try to check the adding or deleting data in the excel.

     

    Best Regards,

    Wisdom Wu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • Rnaval's avatar
      Rnaval
      Icon for Post Partisan rankPost Partisan

      Unfortunately, it doesn't work for me, I get an error message.