When checking whether a formula has errors, only throw Unexpected dot operator error if that line can be logically reached.
Right now, when you write the formula:
If( variable.IsBlank(), false, variable.[Column] )
variable is blank it displays this error:
I want it to return
You can play with it here: Error Handling
This matters because there are scenarios where you have a variable that is normally not blank and is used in a subsequent calculation. If it is ever left blank and a formula tries to access its attribute you will end up with an error that bricks the rest of the formulas that rely on this variable.
The price to pay will be that formulas written inside
Switch() statements won’t be able to tell you ahead of time whether they reference a non-existent attribute. However, formula chips should help you to get around this shortcoming.
Originally, I explored this in a very misguided suggestion to add a third argument to
IfBlank. Thanks to @Ryan_Martens2 for pointing out that I was wrong and for pointing to this as the better solution.