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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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

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

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

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