I have a Many-to-Many bridge table where I set the FK columns to Ref, which in turn automatically created a de-reference in each of my tables. This displays like this:
Ideally what I would like is rather than displaying the table with the two columns I would only like to display a table of the records on the ‘Annual Reports’ side. I attempted this by creating another virtual column in my Permits table with a formula of FILTER(“AnnualPermitData”,IN([id],[Annual Reports])). Unfortunately this did not return any records. My question is how I need to fix my formula and/or is there a more efficient way to accomplish this (something that would be less intensive from a query perspective)?
Thank you that certainly helped it along. This is what I ended up needing to do to give me the desired result:
FILTER(“AnnualPermitData”,
IN([id],
SELECT(
AnnualPermitDataPermits_Has_RelatedPermits[AnnualPermitDataPermits_fk],
([_THISROW] = [RelatedPermits_fk]),
TRUE
)
)
)
So the top portion is what I was getting before, but the bottom is what I actually wanted.
As a follow up though, is there a more efficient expression that I could use to get the same accomplished? I am looking at this from a resource (time intensive) perspective.