Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 8OnnhM9Rd18+8U9v37/z+y
Power Apps - Building Power Apps
Answered

Filter multiple condition

Like (0) ShareShare
ReportReport
Posted on 3 Aug 2018 07:56:13 by 6

Hey im trying to filter Data by two conditions but i dont get it... i only want to filter if both conditions are right...

 

SortByColumns(Filter(Projektideen;StartsWith(Title;Suche_1.Text));"Title";If(SortDescending1;Ascending; Descending))

Thats the actual Code and i try to add the second condition with filters only the Data in which Business Contact = User().Fullname is. I hope you could help me! Thanks!

 

 

Update: Im filtering out of a sharepoint list

  • gamos Profile Picture
    8 on 29 May 2024 at 18:46:50
    Re: Filter multiple condition

    Thank you! I can't believe I had to search for this long to determine that && is AND and || is OR in Power Apps. Microsoft Power Platform really sucks in that sometimes you use a function (OR() works in Power BI) and in other parts of the platform, the same operation uses a different function or characters altogether . Microsoft, get your sh_t together. 

  • Verified answer
    v-monli-msft Profile Picture
    on 06 Aug 2018 at 07:46:01
    Re: Filter multiple condition

    Hi @benniwoessner,

     

    If the column name of the person column is "Business Contact", then the formula should be:

    SortByColumns(Filter(Projektideen;StartsWith(Title;Suche_1.Text) && User().Email in Business_x0020_Contact.Email );"Title";If(SortDescending1;Ascending; Descending))

    Notice that I used the email field, because that in my case it seems that DisplayName in person and group column and FullName in PowerApps user account do not match.

     

    Regards,

    Mona

  • RusselThomas Profile Picture
    4,012 on 03 Aug 2018 at 10:27:12
    Re: Filter multiple condition

    Hi benniwoessner,

     

    You should be able to add conditions based on AND/OR (&& / II) logic as follows;

     

    Filter(Projektideen;StartsWith(Title;Suche_1.Text) && condition && condition)

    where condition would be further operations such as "Business Contact" = User().Fullname

     

     

    Hope this helps,


    RT

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 27

#2
mmbr1606 Profile Picture

mmbr1606 14 Super User 2025 Season 1

#3
EE-04041031-0 Profile Picture

EE-04041031-0 11

Overall leaderboard