Forum Discussion

NidhiBhusari's avatar
NidhiBhusari
Helper IV
4 years ago
Solved

replacing source file having different column names.

Hi , I am replacing a .csv file with a SQL Table in Power BI. I have replaced it without issues. However, the column names are different between the .csv file and SQL Table. Also I should not rename...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi NidhiBhusari,

    If you are working with SQL data source, you can enable the advanced option to write t-SQL statement to do rename operations on the result tables. AFAIK, these operations work on the return data and do not affect the database table structures.

    Power Query SQL Server connector - Power Query | Microsoft Docs
    Regards,

    Xiaoxin Sheng