I'm trying to use the IfError function:
Error, IfError, IsError, and IsBlankOrError functions - Power Platform | Microsoft Learn
It's quite unclear to me what I should enable since I don't see anything related:
I cannot find that feature in Power Automate. I could only find it in my Power App that contains my Flow. Should I do something to enable it? Thanks.
For the coalesce, I'm not sure if I used it well:
But I still got a similar error, I am sending a 0?, but it's considered as a null?:
So probably, what I'm doing is wrong?:
Perhaps, I'm using the empty function wrong, but this is what I did:
I just took out the part that could cause the formatting issue and the issue persists. Any idea why the new error is?
It seems it doesn't work for nulls the empty one. The length would be strange, to be honest.
Hi @federico-eu-lu,
You could for example use an empty or a coalesce function and combine it with an if function. Even a length function should be possible.
Any suggestion on how can I do a try-catch then? Or How can I validate if it's null? I have tried so far:
So, I cannot find any efficient way to make it work. I need just something simple, if the formula fails because it can return a null from the previous operation, it should be able to skip or use the previously stored value. Thanks.
Hi @federico-eu-lu,
IfError is an PowerFx function. Power Automate cloud flows use a different expression language. That expression language doesn't have an IfError function.
You can find the list of functions over here:
https://aka.ms/logicexpressions
WarrenBelz
146,765
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional