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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,584)