Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Add an extra column from excel source

Hi,   I've tried som of the answer in here without succes.   In my Excel file, which is my data source, i've added an extra column. This extra colum I want to be a part of the dataset in BI. It d...
  • MarcelBeug's avatar
    MarcelBeug
    8 years ago

    To be honest, I can't quite follow your steps, as these mention csv which is not applicable here.

     

    Looking at your query code, it seems to me that the issue is with:

     

    #"Power BI_Sheet" = #"Removed Other Columns"{[Item="Power BI",Kind="Sheet"]}[Data],

    as you have no "Power BI" sheet in the list of objects in your Excel workbook.

    Edit: this also corresponds with your error message.

     

     

    Shouldn't your code just be:

     

    #"Power BI_Sheet" = #"Removed Other Columns"{[Item="Power BI 2018",Kind="Sheet"]}[Data],

    Then you should see your additional colum.

     

    At #"Changed Type", you may want to adjust the column type of your new column, which is type any (ABC123) by default.

     

    Just some screen shot from another topic: