cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.