cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
UncountedBrute
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.

1 REPLY 1
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:
https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/

 

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

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 131 members 4,750 guests
Please welcome our newest community members: