Hi !
I have 2 entities with many to many relationship based on CDS :
- Entity 1: "Drinks"
- Entity 2 : Flavours
A drink have multiple flavors (ex : Apple, Lemon, Orange) also, a flavour can be in multiple drinks.
when I navigate to my screen, I passed a context variable "Apple" and on my screen I have a gallery of drinks, I would like to filter this gallery to show only drinks that contains "Apple" flavour (without delegation issue because I have more than 2K records).
Is there a way to do that within filtering ? Or it is better to create a collection filtered on the app start ?
In advance, Thank you so much for your support !
Solved! Go to Solution.
Hi @BenzPA ,
Try to put the following formulas to Items property of drinks gallery:
If(IsBlank(Var_Apple),Drinks,LookUp(Flavours,'Field Name'= Var_Apple).Drinks)
Best regards,
Sik
If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.
Hi @BenzPA ,
Try to put the following formulas to Items property of drinks gallery:
If(IsBlank(Var_Apple),Drinks,LookUp(Flavours,'Field Name'= Var_Apple).Drinks)
Best regards,
Sik
If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.
Hi @v-siky-msft
Thank you four your prompt reply, It works on PowerApps designer when I Play the application but when I publish the application the gallery is empty ..
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
14 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
20 | |
6 | |
6 | |
5 | |
4 |