Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

DataSource.Error: Invalid column name

Hi, this is quite an annoying error... have made some changes to the data source (in my case  SQL view) have edited my reports and all works fine but now when I open 'Power Query Editor' I get thi...
  • v-juanli-msft's avatar
    7 years ago

    Hi Anonymous 

    I make a simple test as below: "import/ direct query" all works for following steps

    i connect to SQL with Power BI Desktop,

    then i delete one column from the data source,

    after clicking "refresh" button on "Home" menu and "Refresh all" inside the "Edit queries",

    it works and show the lastest table with one column disappeared in Power BI.

     

    "

    step1: have made some changes to the data source (in my case  SQL view)   

            (delete a column? change the column name?)

     

    step2: have edited my reports and all works fine             

             (do you refresh from Power BI after step1?

              if you add the column which was deleted in step1 to a visual, does it give any error?) 
    "

    Could you show some details what you do for the steps above so i can reproduce your problem?

     

    Best Regards

    Maggie