Personalized Community is here!
Quickly customize your community to find the content you seek.
‘Better Together’ Integration forum available
We're launching a how-to forum where you can learn and engage about how Dynamics 365 integrates with other Power Platform products.
Read about Better Together forum
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
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 | Upcoming TechTalks
In this blog we will cover how to filter records in list based on condition using Filter function. Also we will see how to filter child records based on parent selected item.
Syntax – Filter (Table, Formula1 [, Formula2, … ] )
Filter function looks for all records in a table and returns only those records that satisfy formula.
Filter for Active Companies:
SortByColumns(Search(Companies, TextSearchBox1.Text, “cr2a5_companyname”), “cr2a5_companyname”, If(SortDescending1, Descending, Ascending))
SortByColumns(Search(Filter(Companies,_statuscode_label = “Active”) , TextSearchBox1.Text, “cr2a5_companyname”), “cr2a5_companyname”, If(SortDescending1, Descending, Ascending))
Filter Products list based on selected Company:
In company detail screen, we will add a Gallery control to display list of Products. We will then filter list to show products only for selected company.
Filter(‘Company Products’, cr2a5_Company1.cr2a5_companyid = BrowseGallery1.Selected.cr2a5_companyid)
If(IsBlank(cr2a5_expirationdate), ThisItem._statuscode_label, “Expired”)
If(IsBlank(cr2a5_expirationdate), “”, “Expiration Date: ” & ThisItem.cr2a5_expirationdate)
Business Applications communities