I have the following SharePoint lists:
- Locations (location - single line of text)
- Areas (area - Single line of text0
- Location Areas (location - lookup, area - lookup)
- Log (Location - lookup, Area - lookup, date, responsible party - single line of text)
I'm editing the form for Log in PowerApps and when a user selects a Location, I want the Areas combo box to filter down to just those areas available at that location (eg in Location Areas).
Here is my formula for item in Area:
Filter(Choices(Log.Area), Value in Filter('Location Areas', Location.Value = DataCardValue2.Selected.Value).Area
DataCardValue2 is my Location data card.
I'm getting an error on the first "Value":
Can't convert this data type. Power Apps can't convert this Text to a Record.
Any ideas here?