Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Using two CRM related entities to return values

This is a very difficult question for me to word, however i shall try my best.


I have two entities which i have connections to on PowerApps.

These are not their true names of the entities, only an example of the situation:

One entity called C which stores related items about a user

Another called CS which is the linking table between C and S allowing for a 1:n relationship.

There is another table called S which stores user data.


The issue, is that in order to filter values that are in C, i have to also filter in CS based on S's value.

My current syntax is as follows but it doesnt work:

Filter(C, cID = Filter(CS, _s_value = Gallery1.Selected._S_value, _C_value))

Any help on getting this to correctly work would be very much appreciated.

Community Support Team
Community Support Team

Re: Using two CRM related entities to return values

Hi UncountedBrute,


Please try to use Lookup function instead of Filter function to find the cID.


More details about Lookup function, please check it at here:


Please try it on your side. If you need more help, please feel free post back.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,138)