Hi, I have a Dataverse table holding a number of Risks with three lookup columns "Risk-Requirement-Association", "Risk Modeling Activity" and "Risk Testing Activity". I need to check if the Risk has at least one of these (optional) lookups set. For this, I added a column "Is Orphan" with the following function, which is accepted by Power Apps (I can hit the Save button):
And(IsBlank('Risk-Requirement-Association'),IsBlank('Risk Modeling Activity'),IsBlank('Risk Testing Activity'))
After saving and a couple of seconds, this error message appears:
Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 137
Google didn't really help, it just talked about a missing variable definition.
Any ideas out there? Thanks you!
EDIT 7-Dec-22: This only happens if the column checked by the IsBlank function is a Lookup column.