thanks for your response @timl but im getting an error on line 1 next to the ( on Add Columns that says "received 1 but expected 3 or more"
Just a reminder that Im just trying to add the Account Rating column that happens to be a picklist to the Contact Accounts datasource by joining 'Contact Accounts' RefAccount: ID (account id is a lookup column in Sharepoint list)
in addition my filters use the in statement not =
this is my attempt (the add columns is working)
AddColumns(
Filter(
'Contact Accounts',
If(
IsBlank(txtinpContactAccountsContactSearch.Text),
true,
RefContact.Value = txtinpContactAccountsContactSearch.Text
),
If(
IsBlank(txtinpContactAccountsAccountSearch.Text),
true,
RefAccount.Value = txtinpContactAccountsAccountSearch.Text
),
"lu Account Rating",
LookUp(
Accounts,
ID = 'Contact Accounts'[@'RefAccount: ID'].Id,'Account Rating'
)