Extracting field value from list of ref

I have tables Participants, Roles
Participants has VC of type List(Ref(Roles)) โ€œThis User Role Dataโ€ = FILTER(Roles, [Email] = USEREMAIL())
Participants has VC of type List(Text) โ€œThis User Orgsโ€ = [This User Role Data][Org]

Roles:
Email Org
a@a.com orgX
a@a.com orgY
b@b.com orgX
b@b.com orgZ

When I show these two VCs previewing the app as a@a.com:
โ€œThis User Role Dataโ€ =
a@a.com orgX
a@a.com orgY

โ€œThis User Orgsโ€ =
orgX,orgX

What is going wrong that โ€œThis User Orgsโ€ isnโ€™t orgX,orgY?

Solved Solved
0 1 163
1 ACCEPTED SOLUTION

I had not included the Org column as part of the key in the Roles table, that solved it

View solution in original post

1 REPLY 1

I had not included the Org column as part of the key in the Roles table, that solved it

Top Labels in this Space