Forum Discussion

DemoFour's avatar
DemoFour
Continued Contributor
2 years ago
Solved

Dataverse Field names changing

Hi all, 

I am aware of this thread and solution suggested, which does not sort the issue. 

My issue is that the Dataverse developers are using _ and CamelCase names and I don't want these in the report, as there is no consistency.  Also this is not happening on all changes to field names. 

So how can I stop this happening? 





Table.RenameColumns(#"Removed Other Columns",{{"new_auditid", "Audit Key"}, {"createdon", "Record Created On"}, {"new_audit_id", "Audit ID"}, {"cr5cd_raisedby", "Raised by Key"} . . . . .

 

Has anyone got a better solution and fix - and no I can't change in Dataverse as this a canvas app in production, and don't even get me started on sloppy contractor work in the first place not build things properly!! 

3 Replies

    • DemoFour's avatar
      DemoFour
      Continued Contributor

      Good morning Anonymous   Thank you for your reply.  Unfortunately, I cannot send you a P.BIX as I can not expose the dataverse instance and data.  

      I can however supply my M code, this is very simple UI and changed field names code, nothing I write myself in M.  Alternatively, I can raise this internally with Microsoft support and link you in if that is a better solution to test out the coding etc. I have used? 

      Thank you for your response