web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Filter using 'Choices'...
Power Pages
Unanswered

Filter using 'Choices' Dataverse column

(0) ShareShare
ReportReport
Posted on by 2

Hello,

 

I've added a few filters to my entity list using the "Metadata Filter" functionality, which has worked great (attached). However, I have a column that does not appear as an attribute for selection in a dynamic picklist set or attribute filter set. I believe this is because it is a 'Choices' column, and not a 'Choice' column like the others.

 

I'm wondering if there's any way to add a filter that uses a Choices column to the Metadata Filter list? I see there is an option to use a FetchXML filter, but I have not been able to find documentation on how to pull a list of choices with FetchXML.

 

Thanks,

PortalFitlers.png
Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @DavidW_c5 ,

    Yes, you are correct it is because of a Choices column (previously Multiselect OptionSet). I think fetchxml filter should work just fine as it allows for more complex statements and shouldn't be restricted. You cannot dynamically pull the list of choices you would need to write them all in your fetchxml statement. You would need to write each option in separate condition which should allow the portal to render it as an option (check the image on the old Adx Community forum on how it usually look for fetchxml filter). You can use Advance find or FetchXmlBuilder from XmlToolBox to build your query.

  • DavidW_c5 Profile Picture
    2 on at

    Hi @OOlashyn ,

     

    Thanks for your reply, that link was helpful, and while I was able to get the example they posted (filtering for text in name) up and running, I cannot get the multi-select xml output to work. Using the FetchXML code:

    <filter type="or">
     <condition attribute="cre06_category" operator="contain-values" uiname="option">
     <value>364060011</value>
     </condition>
    </filter>

     

    causes the entire filter box to show up blank. After some more research, I'm not confident this is supported.

  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Well, it might be that multi-select isn't supported in the entity list at all. This type of field is also not supported on the entity forms.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 42

#2
Valantis Profile Picture

Valantis 24

#3
omkarsupreme Profile Picture

omkarsupreme 23

Last 30 days Overall leaderboard