Setfiler on collection referenced

Hello i have 2 collections:

  • 1e “Categorie” with categorie name and, referenced Enterprise field
  • 2eme “Enterprise” with adresse, country etc…

I have a repeater connected to “Categorie Dataset” with column : “categorie name” , " Enterprise name" , “Enterprise country” and i can do setfilter() on categorie (this is work).

But i would like have a other filter to filed “country” in Enterprise.
How to do that ?
$w( “#categoriedataset” ).setFilter(wixData.filter()
.contains( “country” ,$w( “#recherche” ).value)…does not function (Country is not directly in categoriedataset )

Thanks a lot