cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

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
Highlighted
Power Apps
Power Apps

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
Highlighted
Power Apps
Power Apps

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,140)