Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
In this blog we will see how to filter records on record status based on value selected in drop down. In Dynamics 365 we can configure views with different filter conditions. In PowerApps there is no view concept but based on value selected in drop down list, we can filter records in Gallery list or data table. This behavior can be extended further to replicate view concept in Dynamics 365. Let’s see how this works.
SortByColumns(Search(Companies, TextSearchBox1.Text, “cr2a5_companyname”), “cr2a5_companyname”, If(SortDescending1, Descending, Ascending))
In order to filter list based on drop down selection, lets add drop down control on top of Gallery control and add two values as: Active Companies & Inactive Companies
Now we need to update Items property of Gallery control to include Filter function based on value selected in drop down
SortByColumns(Search(Filter(Companies,If(Dropdown2.Selected.Value = “Active Companies”, _statuscode_label = “Active”, _statuscode_label = “Inactive”)) , TextSearchBox1.Text, “cr2a5_companyname”), “cr2a5_companyname”, If(SortDescending1, Descending, Ascending))
Run the app, change drop down value and Gallery list will be filtered accordingly.
Business Applications communities