Anyone found an online tool for beautifying messy formula expressions? You know, with proper indenting to make it more readable? I'm aware of the helpful indenting in the editor when you type an expression- each time you press enter, it indents properly. But I'm often typing in another editor, or copying/pasting, or too lazy to use the editor properly.
I want to turn this:
Into this:
As the Power Fx language used in Power Apps and Power Automate is based on Microsoft Excel, all I can suggest is that you try the Excel Formula Beautifier site Online Excel Formula Beautifier:
if(or(empty(triggerOutputs()?['body/LatLong']), equals(triggerOutputs()?['body/LatLong'], ',')),'25.35342762,55.43085479',triggerOutputs()?['body/LatLong'])
Just remove the equals sign from the Beautifier then paste into Power Automate.
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.