Hi
I have something complicated. Hope my explanation is clear
So I have three forms, External User Form, Firewall Access Form, VPN Access Form.
So what I have done is if a user want three access , he can submit only one form which will create the other access too. So a user might request only for External OR External/VPN OR External/VPN/Firewall etc.
After access if he open the External Access VIEW form. if he have requested for others he can see in the gallery created inside the form the respective details of the other form too.
So in addition to gallery created to view/edit in these three forms, inside the form there is gallery referring to other forms. Hope my explanation is clear so far.
So there is two more galleries referring to the same form, so I use a filter to get the correct record in view form mode,
Example
So below is my External Form and The Gallery details. So I use the filter for VPN Gallery as below

If(varVPNExtGallery,Filter(VPNAccess, ExtFormID = VPNExtGallery.Selected.ID),Filter(VPNAccess,ExtFormID = ExternalGallery.Selected.ID))

So below is my VPN form and External Gallery details.

When I try to filter it is saying circular reference error. How can I filter selected item without creating a circular reference
