Matching multiple values from different tables in a drop-down
I have two SharePoint Lists: ‘Provider_Resource_Guide’ & ‘Provider Inclusion By State’
‘Provider Inclusion By State’ includes 'State (State0)', 'Name (Title)', & ‘Skilling’
‘Provider_Resource_Guide’ includes 'Name (Title)', ‘Skilling’, 'AR Start' & 'AR End'
The dropdown I would like to filter to is currently only filtered to 'AR Start' & 'AR End':
Distinct(Filter(Provider_Resource_Guide, 'AR Start' <= Value(TextInput1.Text) && 'AR End' >= Value(TextInput1.Text)),'Name (Title)')
In my form AR (age range) is represented by TextInput1, State is NameList1_8, and Skilling is NameList1_9
This is the only advanced filtering I need other than the match I need on ‘Skilling’
Here is my failed attempt:
Distinct(
Filter(
Provider_Resource_Guide,
'AR Start' <= Value(TextInput1.Text) && 'AR End' >= Value(TextInput1.Text) && Skilling in Lookup('Provider Inclusion By State', 'State (State0)', NameList1_8.Selected.Value, 'Skilling')
),
'Name (Title)'
)
Please and thank you!