cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Power Automate
Power Automate

Nesting Filters

I have this expression in a text box.

 

Text(Sum(Filter(Orders, Company  = "Coka Cola"), AmountDue),"##,###")

 

It is returning a value summing the whole of orders for Coka Cola. However, I would like to say AND OrderMonth=Month(Now()).

 

Is it possible to add the second condition?

 

I also tried putting the first filter on a gallery, then using this but it wouldn't take it. 

Sum(Filter(GalleryCokaColaOrder,OrderDate = Month(Today))

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Continued Contributor
Continued Contributor

Re: Nesting Filters

Have you tried "&&" operator?. Please try the below.

 

Text(Sum(Filter(Orders, Company  = "Coka Cola" && OrderMonth=Month(Now())), AmountDue),"##,###")

View solution in original post

1 REPLY 1
Highlighted
Continued Contributor
Continued Contributor

Re: Nesting Filters

Have you tried "&&" operator?. Please try the below.

 

Text(Sum(Filter(Orders, Company  = "Coka Cola" && OrderMonth=Month(Now())), AmountDue),"##,###")

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (9,881)