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 Apps / Allow Dataverse views ...
Power Apps
Answered

Allow Dataverse views selection on canvas app

(0) ShareShare
ReportReport
Posted on by 55

I want to enable the users to select which view they want to see for my gallery.  To filter for a specific view, I know that we can simply filter the gallery by Filter( Leads, 'Leads (Views)'.'Active Leads' ).  To enable selection, I inserted a drop down box with Choices ('Leads (Views)') to provide the users all Lead views available to choose from.  However, I can't find a way to pass the drop down value back to the filter and make the filter work.  I tried something like:

- Filter( Leads, 'Leads (Views)'.(LeadViewsDropDown.Selected.Value) )

- Filter( Leads, LeadViewsDropDown.Selected )

But none of above work.  I thought of using a Switch to do that, but that'd be complicated and hardcoded and if we add or delete any views we'll have to edit the Switch again.  Anyone knows a way that we can apply the selected view from dropdown toward the Filter of the gallery?

 

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    daniuosagi Profile Picture
    55 on at

    Sorry solved it myself.  Below works:

    Filter( Leads, LeadViewsDropDown.Selected.Value )

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @daniuosagi :

    Thanks for your feedback.It will be helpful to others.

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard