@nigel described here how it works: LookUp with conditions - #10 by nigel. Hope it helps. 
We also plan to add the ability to filter on lookup fields: Lookup Fields/Formulas should be filterable/colorable/aggregatable in the grid view (#676) · Issues · Baserow / baserow · GitLab.