Is there a way to Filter a ref_row based on input text in another field before sync?

I’ve created a valid_if statement for a column. Based on the values input into that column, I want my ref_row to filter the results prior to syncing. Is this possible?

Solved Solved
0 50 9,216
1 ACCEPTED SOLUTION

Sorry, I’m dumb, I didn’t see the computed name was the label and something else…
IFS("None"<>[AffilateCode], FILTER("Affiliates", [_THISROW].[AffiliateCode]=[AffiliateCode]))

View solution in original post

50 REPLIES 50

@Bahbus, are these the details you were referring to?

Bahbus
New Member

Like this one, but with Type Details also expanded, and for the column that is misbehaving.
2X_6_6901b5fc6d88f4aa4c1999528d54258f9455b7e2.png

“Leads”[Customer]


Cont’d:

“Customer”[EmployeeID]


Cont’d:

“Customer”[AffiliateKey]


Cont’d:

For that CustomerKey column, try a Valid If of [AffiliateKey].[Related Customers]

I’ve figured it out, sort of… I used the example you provided with the ENUM with a base as REF and VALID_IF, but it doesn’t auto select the option. Is there a way to do that. I’ve tried using Initial Value and App Formula, but I get errors.
2X_9_9d9a4a9829d5c8a6aaff427108186b4e2234898a.gif

What, if anything, did happen when tried [AffiliateKey].[Related Customers]?

Unfortunately, no . This does not provide the desired results.

Nothing happened. the Expression I used was [Related Leads][AffiliateKey] as we needed to pull the AffilateKey used in the Leads table and not the Customer. The initial Form starts from the Leads table & not the customer.

When I use initial Value as stated in some of the community forums, I get this error.

Column Name ‘EmployeeID’ in Schema ‘Customers_Schema’ of Column Type ‘Enum’ has an invalid ‘Initial Value’ of ‘=[Related Leads][EmployeeID]’. The type of the Initial Value does not match the column type. Consider using ‘’ instead.

It say consider using " which confuses me.

I believe the error is because that method brings over your information in List form. Try:
INDEX([Related Leads][EmployeeID],1)

Once again, you’re a genius! Thank you so much! I you!

Top Labels in this Space