cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper IV
Helper IV

Filter Gallery based on another list values

I am trying to filter GalleryA (CDS table :plan) based on another CDS table :checklist)

 

table :plan

amount

month

planno

100

2019/1/1

1

200

2019/2/1

2

400

2019/2/1

3

400

2019/2/1

4

 

table :checklist

planno

1

3

 

GalleryA

On GalleryA I would like to show data of plan which is not listed in checklist.

amount

month

planno

200

2019/2/1

2

400

2019/2/1

4

 

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Try this as the items property of Gallery A:

Filter(plan, !(plano in checklist.plano))

Let me know if this doesnt work.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com

View solution in original post

3 REPLIES 3
Super User II
Super User II

Try this as the items property of Gallery A:

Filter(plan, !(plano in checklist.plano))

Let me know if this doesnt work.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com

View solution in original post

Worked!! thank you😊

Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (75,508)