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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Make Entity List filte...
Power Pages
Unanswered

Make Entity List filters data driven

(0) ShareShare
ReportReport
Posted on by 2

I defined a metadata filter on an entity list with a Dynamic Lookup Set filter.

The filter works perfectly, but shows all the records in the filter that are in the related entity.

 

Is there a way to limit the filter, so only options are shown were data is related?

 

Screenshot of the filter config included..

Categories:
I have the same question (0)
  • Ulrikke Akerbaek Profile Picture
    101 on at

    Hello @ThijsS

     

    I believe this is the behavior you are looking for is the default behavior of this filter. 

     

    I tried this in my environment with the Incident Type dynamic lookup set filter on the "Customer Service - My Portal - Cases List"

    Entity List. The filter only display the Incident Types that are related to one or more cases in the list. 

     

    This is the complete list of Incident Types in my environment: 

     
     

    I created two Cases with two different Incident Types - and related the cases to my account and my contact. 

     

    With an advanced find I can see that there is only two Incident Types related to Cases:

    advancedfindcaseswithcasetype.jpg

    Result:

    advancedfindcaseswithcasetype_result.jpg

     

    Now this is how filter configuration looks like on my entity list:

    entitylistfilter.jpg

     

    And when I open my entity list I see ONLY the two Incident Types related to my cases in the filter: 

    filterinportal.jpg

     

    I had to create a new Entity Permission for Incident Type as a CHILD permission to the Case entity permission to get the filter options visible in my portal:

    entitypermission.jpg

     

    Maybe you have entity permission set to widely for the filter entity? 

     

    Please try to recreate this filter using another entity with less data and see if you can recreate the behavior. 

    Hope this was helpful!

     

    Good luck and all the best, 

    Ulrikke

  • adampfau Profile Picture
    Microsoft Employee on at

    If the above solution does not work you could try the method in the URL below.  I would recommend using the permissions method above however.  

    https://www.dancingwithcrm.com/custom-lookup-filtering-powerapps-portal/

  • ThijsS Profile Picture
    2 on at

    @UlrikkeAkerbæk ,Thanks for the detailed answer! This helped me in finding out what goes wrong exactly. 

    My configuration is similar like yours and not invalid i found out.

     

    The only i did configure is a (filtered) view in the entity list config. This view is filtering the entity further down:

    Screenshot 2020-10-07 110809.png

     

    Screenshot 2020-10-07 110806.png

     

    So my conclusion is that the filters are data driven based on the entity permission config instead of the entity list configuration..

    Which is misleading, because the notification in the filter says something different

     

    Screenshot 2020-10-07 110807.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard