Notifications
Announcements
Hi all experts,
I would like to filter Activities based on Activity Type using Canvas App Gallery. I tried but I cannot get the Activity Type Optionset in the Canvas App when I try to filter. Is there any solution or suggestion to filter Activity based on Activity Type?
thanks in advance
Hi @Necdet ,
Hopefully you can find your scenario in this guide how to filter a Dataverse Choice column: https://www.d365geek.co.uk/single-post/filtering-by-choice-columns-in-dataverse-and-power-apps-what-are-my-choices
Thanks for the rapid answer. This page and information are known did you try it? Is it working with Activities? The Activity Type is Global Choice and I didn't find a solution to filter it. Please if you try and get any solution I'll be thankful when you share here. Thanks in advance.
I did a quick test using a combobox using the Activities table for the Items property and a gallery with the below formula for its' Items property which seems to work as expected:
Filter(Donations, Activity in ComboBox1.SelectedItems.Activity)
Hi @BCBuizer ,
I appreciate your time and answer. But this is only the value of the activity id. I mean activity type. When I filter activities I want to get separate with activity types like "Email", "Appointment", "tasks" or "Phonecall". Can you define with this ID what type of activity are you handling?
Hi,
Were you able to solve your issue? I came across the same thing !!!
Thanks in advance
Hi @rodrigopuravida , @Necdet ,
Have you tried using the Choices function to access the optionset: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-choices
This should return the optionset values as well as the ids.
To make a long story short this is what I did to work around this issue:
Sort of looks like this
oh and thank you for your feedback btw.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268