I want a Power Automate flow to update a column (Pickable) based on the value of another column (Location). The logic is that if the character after the second period in the Location column is a 3, the Pickable location value should be "No." Otherwise it should be "Yes." Here's my set up.
- List Rows (Dataverse table)
- Apply to Each (output from List Rows)
- Update a Row (same table as List Rows / row ID is the standard Dataverse ID column)
This is the expression I want to use in the Update a Row action for the Pickable column, but it doesn't work:
if(split(item()?['Location'], '.')[2]='3','No','Yes')