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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Renaming Columns in Power Query doesn't flow through to Data Model.

This issue is related to Renaming columns in Power Query doesn't show up in... - Page 3 - Microsoft Fabric Community. But as yet there has been no answer and I fear that issue may have been buried.

 

Basically, despite there being steps to rename columns in the Power Query editor... these dont flow through to the resulting Data Model after loading and instead columns are still named as their original source.

 

PBI Desktop Version: 2.123.742.0 64-bit (November 2023)

 

See below very basic querry which:

  • connects to Dataverse 'Source' CommonDataService.Database("orga12a3b4c.crm6.dynamics.com")
  • 'Navigates' to data Source{[Schema="dbo",Item="vf_mytableofdata"]}[Data]
  • 'Removes Columns' - standard Table.RemoveColumns script
  • 'Renames Columns' - standard Table.RenameColumns script (see below)
Screenshot 2023-12-01 163350.png

 

Columns display in Preview as correctly named however, once query editor is closed and data is loaded... the Rename Columns doesn't hold

 

Screenshot 2023-12-01 164046.png

If i put the Table.RenameColumns step AHEAD of the Table.RemoveColumns Step... no difference. The Table.RemoveColumns step still executes and the un-wanted columns removed, but the Table.RenameColumns step does not hold and the columns remane as their originally loaded name.

 

Surely this is more widespread than just me. I note there is yet an answer in the original thread.

 
Status: Needs Info
Comments
Anonymous
Not applicable

Hi  @AVESTO 

Currently the data source you are using is Dataverse and it appears that the rename column is not being applied. Have you tested other data sources then? I need to confirm if this issue is only happening with Dataverse or all data sources?
Secondly, this issue is currently occurring in the November Desktop, have you tested a historical version, say October or older?

 

Best Regards,
Community Support Team _ Ailsa Tao