Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

change data source with new column name in existing pbix file


Problem scenerio: a pbix was using mongodb as the data source with 10 columns, now that table has been migrated to hive and all the column names have been renamed, however the values are same in addition 4 new columns have been added to the table.


Is there any way to keep using the existing pbix by making the changes in power query editor?


kindly help!



Responsive Resident
Responsive Resident

Yes, it is possible to keep using the existing pbix file by making the necessary changes in Power Query Editor. Here are the steps that you can follow:

  1. Open the existing pbix file in Power BI Desktop.
  2. Go to the "Transform Data" option in the Home tab.
  3. In the Power Query Editor, go to the "Source" step in the Applied Steps pane on the right.
  4. Click on the gear icon to open the "Edit Credentials" window.
  5. Update the connection settings to point to the new Hive table.
  6. Once the new table is loaded into Power Query Editor, you can update the column names by renaming them in the "Transform Data" tab.
  7. To handle the 4 new columns, you can add new steps to your query using the "Add Column" tab and use appropriate transformation logic to manipulate the data.
  8. Once you have made all the necessary changes, save the Power Query Editor and the changes will be reflected in the visuals in the pbix file.

Note: It is recommended to take a backup of the original pbix file before making any changes to it.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors
Top Kudoed Authors