Hi @pontusspringer ,
Do you mean you want to filter the Contact entity by selected account and assigned WebRole, right?
I have tried, but can't find a clear way to apply a logic in filter function to check if web role is assigned to contact.
What I can achieve is to create a ReferenceGallery, filtered by selected account.
ReferenceGallery.Items: Filter(Contacts,'Company Name'=Dropdown1.Selected)
Inside the Reference Gallery, there is a Label to display the assigned WebRole by setting Text property to
Concat(ThisItem.'Web Roles',Name)
Then Set the Items of your target gallery as follows to filter on ReferenceGallery by checking wether the Label is blank.
Filter(ReferenceGallery.AllItems,!IsBlank(Label1.Text))
Then the target gallery will show as you expected. in addition, try to set the Visible of ReferenceGallery to false to hide it.

Hope this helps.
Sik