Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
If while editing a function I switch focus to another window my function is converted to text.
This:
Table.AddColumn(AddedIsWorkday, "Capacity", each [IsWorkDay] = true then 6 else 0)
Becomes this:
#!"Table.AddColumn(AddedIsWorkday, ""Capacity"", each [IsWorkDay] = true then 6 else 0)"
I understand this is because of an error in the formula but it is making the online editor almost unusable.
Hi @Anonymous ,
I could not understand what is your desired result. Based on my test, you could use advanced editor in data flow to convert to text:
Regards,
Daniel He
Its not about what I'm trying to do in the advanced editor. Its the fact that when I am editing in the function window and change focus outside of the function window (like alt-tab to another app to reference some information) it destroys the function I was working on.
This function that I am working on that is partially finished:
Table.AddColumn(AddedIsWorkday, "Capacity", each [IsWorkDay] = true then 6 else 0)
Becomes this:
#!"Table.AddColumn(AddedIsWorkday, ""Capacity"", each [IsWorkDay] = true then 6 else 0)"
I then have to remove the #!" and all the double quotes to continue editing the function.
To recreate this: Select a step, edit it to a partial non-compilable state, alt tab to another application (like you do when trying to read up on an M function) then alt tab back to Power Query. Your partially completed function is convereted to a mess.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 26 | |
| 19 | |
| 19 |