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 August 31st. Request your voucher.

Advanced M Editor in dataflow Gen1 stripping formatting

When using the advanced editor for dataflows in the service, any formatting I've put in gets replaced with poor formatting that's hard to read when the dataflow is saved - this is especially the case with indentations, but sometimes it also changes the carriage returns. I've also noticed that there's inconsistency as to when indentations are two points or four, and it does not appear to respect changes made in this regard.

 

The editor shouldn't be touching changes I've made, and should not be making standards of code worse.

e.g. before save:

JoshT_0-1732034992934.png

 

after save:

JoshT_1-1732034992928.png

 

 

Status: Investigating
Comments
Anonymous
Not applicable

Hi @JoshT ,

 

Based on the above information, It's a reproducible issue. For the new reply policy. I would suggest opening a Support Ticket.

If you are a Power BI Pro or Fabric licensee, you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you. 
It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

 

The link of Power BI Support: Support | Microsoft Power BI

For how to create a support ticket, please refer to How to create a support ticket in Power BI - Microsoft Power BI Community

 

Best Regards,
Community Support Team _ Caitlyn

JoshT
Advocate III
Unfortunately I was fobbed off with 'this is intended behaviour', despite the behaviour being inconsistent, and the output clearly being undesirable and making the product too difficult to use. When has readability ever been a concern to developers, eh?!?!?