cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jabipilot
Regular Visitor

Filter on Regarding Field in Canvas App

Hi,

 

I'm trying to display a list of activities for related Cases in my Canvas App.  I have tried the following filter in the Gallary Items section but with no luck:

Filter(Activities,Activities.Regarding=[@ModelDrivenFormIntegration].Item.Interaction).

 

My question is how do I filter a list of Activities for a Case by using the Regarding field in my Filter criteria?

 

Thanks,

Christiaan

1 ACCEPTED SOLUTION

Accepted Solutions
PowerAddict
Super User
Super User

Try
Filter(Activities, Regarding = [@ModelDrivenFormIntegration].Item.Interaction)

Also if you want to show activities for a particular case, you can do: CaseRecord.Activities

Let me know if either of these 2 help.

---
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

2 REPLIES 2
PowerAddict
Super User
Super User

Try
Filter(Activities, Regarding = [@ModelDrivenFormIntegration].Item.Interaction)

Also if you want to show activities for a particular case, you can do: CaseRecord.Activities

Let me know if either of these 2 help.

---
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

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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,671)