cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jason_Hough
Level 8

Filter Gallery Help

hi there, 

I have a CDS that i use ClearConnect to get a local copy - all working fine. 

 

I need to do a filter and the filter is : If businessGroup = Variable and Criticality = Varible and this works perfectly by : 

 

Filter(ContactListLocal, BusinessGroup=BG, Severity=Criticality)

 

but if i want to add another filter : 

 

Filter(ContactListLocal, BusinessGroup=BG, Severity="ALL") - that works perfectly as well - so it shows rows when severity is ALL. but how do i combine them together - so it shows the rows with severity of Criticality and ALL ? 

 

Multiple filters do not work for me, any help would be fab. 

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Filter Gallery Help

You can use the Or operator to combine the two expressions:

Filter(
    ContactListLocal,
    BusinessGroup = BG,
    Severity = Criticality Or Severity = "ALL")

That will give you the contacts in the business group that have the severity either the value of the Criticality variable, or the value "ALL".

View solution in original post

1 REPLY 1
PowerApps Staff CarlosFigueira
PowerApps Staff

Re: Filter Gallery Help

You can use the Or operator to combine the two expressions:

Filter(
    ContactListLocal,
    BusinessGroup = BG,
    Severity = Criticality Or Severity = "ALL")

That will give you the contacts in the business group that have the severity either the value of the Criticality variable, or the value "ALL".

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,100)