Hello,
I'm trying to use a switch function based on some Dataverse data/lookup field, however some of the data values are null. I've read that I could use the coalesce function here, but I can't seem to get the syntax correct.
I'm pulling rows from Dataverse using List Rows from a specific table.
Here's my coalesce function in a Compose operation:
coalesce(outputs('List_rows')?['expint_billingbccompany'], 'No Company')
Then in to the switch function I have 4 different environments that are being pulled via their integer ID from lookup in Dataverse
Env1 0000000, Env2 000001, Env3 000002, Env4 000003 (not sure if this is relevant)
My flow runs through the first 7 records, regardless of environment, then fails on the 7th because the company is null. I've verified this in the Dataverse table. I could filter out null values in the list rows, but we may want to capture that data at some point and would like to know how. I hope this makes sense. Let me know if anyone needs clarification.