Forum Discussion

karun_r's avatar
karun_r
Microsoft Employee
8 years ago
Solved

R Script error when modifying the dataset- Missing Columns in data

I am trying to insert the dataset that I am receiving from another source into a SQL Server. As there is no option of doing this is native Power BI, I am using R functions to do this. Here is the cod...
  • karun_r's avatar
    8 years ago

     Figured it out. It was due to mismatch in the names of the columns. My dataframe has columns A and B but my table has columns C and B. Modified the columns to match the names and then it worked.