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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors