I am not sure how to do this but this is what I am looking for.
“Main” table has all the the information about the customer
“At Risk” table has certain criteria if the customer meets them they get an “At Risk” indicator in a virtual field labeled “At Risk”
The two tables are referenced by a “Customer ID” field that is the same in both tables.
On the main table I would like to have a virtual field named “Count of at risk” that will count how many labels a customer has in the “At Risk” table and return that count to the main table with how many. Any ideas?