Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Jay__
Regular Visitor

change data source with new column name in existing pbix file

Hi,

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!

 

 

1 REPLY 1
Adamboer
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

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors