Hi @GordonHave tested on my side, same issue occurred.
Also, I found that if you keep only one iif function and comment out the other, the result is correct.
My guess is a bug when using exists inside iif with multiple iif functions.
For this bug issue, you can post it in the feedback site.
Best regards,
Cosmog Hong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.