I am loading data from a table into a collection. I would like to be able to filter those items at load time based on a related table.
The table itself is called "Topics" and the related table is called "Topic state".
The "Topic state" holds data for the built-in stage/gate functionality in Model-driven Power Apps

I would like to filter my Topics such that Topics with a specific state is not included. In the Model-driven Power App I have created a View that does just that:

My current filter - that does not take into account the data in the related table - looks like this:
ClearCollect(topics_all,Filter(Topics, 'Show in pipeline' = 'Show in pipeline (Topics)'.Yes && Not(Status = 'Status (Topics)'.Inactive)));
How do I augment this to include the related table?
I can download the "FetchXml" from the View - it is possible to use that data in the filter in my Canvas app?
Thanks,
Jesper 😊