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 Apps / Filter list/table/view...
Power Apps
Unanswered

Filter list/table/view with distinct values in Model-Driven-App

(0) ShareShare
ReportReport
Posted on by 12
First of all, I need to say how disappointed I feel with Model-Driven Apps (MDA). I hadn’t used them before, and I told my boss that our current project would be built using MDA, because it has a lot of tools out of the box and should take less time compared to Canva app.
But now I’m completely stuck on a basic requirement. Users want to see a table/list of invoices and filter them using a dropdown with distinct values from the Countries column. For example, they want to filter invoices from France or Spain only.
The problem is, this doesn’t seem possible in the view—or maybe I’m missing something. Let’s say I have two tables: Invoices and Countries. Invoices has a lookup column pointing to Countries. I added that lookup column to a view, but it doesn’t show a dropdown of available values—it requires me to type the value manually.

At the moment, the only workaround I see is creating a Choice column, but as I see it will be problematic for users to use properly. Is there a more elegant or dynamic way to achieve this? How would you handle such a requirement to show a dropdown of distinct values which filters the data? Would you use a dashboard, form, a PCF control, or something else? I'm open to more advanced solutions as well.
 
Keep in mind I simplified the scenario, this project will be much more complex than just having list of invoices with some filters - but this is the starting point, users want to see list of invoices and be able to filter them with some dropdowns :D 
Categories:
I have the same question (0)
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    I assume that your invoice doesn't have country column ( that's really strange). When you create the lookup column for Invoice table, which point to Country table. 
    What you need it create Public view, with advanced filter, like country =France or Spain, and use it as default view.
    that's it.
    when the user logon the default view will display the invoice list ( France/Spain), and when they use the country column filter, it only has two values (France/Spain).
     
  • CU23091305-0 Profile Picture
    12 on at
    @stampcoin thank you for suggestion but i don't need just to filter the whole dataset statically. I need to have a dropdown filter so people can see a list of available countries they can select. In current solution user needs to Click column "Country", then select "Filter by" -> "Equal" and type the couuntry manually, which is not efficient. 

    Or maybe I am missing something. I added Country text column to the Invoices table, adjusted the advanced filter in the view but still when I open the app  and select Country column I don't see a list of available coutries to select, just the list of options like "Sort from A to Z, Group by, Filter By, Column Width, Move right". And when I click FilterBy then Equal there is no dropdown, just text field to type the country manually.
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Are those two tables dataverse table not virtual tables ?
  • CU23091305-0 Profile Picture
    12 on at
    @stampcoin yes, both are just standard dataverse tables. Lets say it is even one standard Invoices table with all information provided. 
    The second one I actually created in purpose to test whether lookup column can be a solution. 
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    see my example, quite straight forward...
    What you only need is add a lookup column in Invoice table, lookup against Country table.
    Your country may contain alpha-2 and alpha-3 country code, and country name.
    Country name will be defined as Primary name column. 
    Adjust the view, then you see similar like below.
     
  • w.p Profile Picture
    8,339 Super User 2025 Season 2 on at
     
     
    Example of a custom filter for the vehicle lookup column to display parking inspections related to two specific vehicles.
     
     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard