I need to set the DisplayMode property of a control based on if the first record in a collection is blank.
I can't use IsEmpty(CollectionName) because it's used in a gallery and always has a 'show saved' value in the first record, regardless if there is other data in that record. It's a pseudo InfoPath repeating table.
I don't get any syntax errors with this but it also doesn't change the DisplayMode Property.
If(IsBlank(First(Markets.Region)), Disabled)
Any suggestions for using the 'First' function along with If and IsBlank to help set visibility or displaymode?