web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter function works ...
Power Apps
Unanswered

Filter function works with only 3 conditions

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi,
I’m trying to filter data from SharePoint list with 4 conditions and sum one of the column.

Here is my formula

Sum(filter(datasource, condition1 && condition2 && condition3 && condition4), colx)

It doesn’t work. If I remove one condition it works, it shows the sum.

Is there any restrictions on no of conditions with filter function or can you help on this? Thanks
Categories:
I have the same question (0)
  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    I am not aware of limit with conditions. Are you sure that you have items in the SharePoint list that meet all four conditions? If so, how large is your list? I ask because I don't think the Sum() is delegable in SharePoint, so it could be factor in your results.

     

    You can also write the formula like this:

    Sum(filter(datasource, condition1, condition2, condition3, condition4), colx)

     

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share more details about your formula?

     

    Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please consider modify your formula as below:

    Sum(
    Filter(
    datasource,
    condition1,
    condition2,
    condition3,
    condition4
    ),
    colx
    )

    Please also check if you have specified proper filter condition within your Filter function. More details about Filter function, please check the following article:

    Filter function

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,033

#2
Valantis Profile Picture

Valantis 632

#3
11manish Profile Picture

11manish 607

Last 30 days Overall leaderboard