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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter multiple condition
Power Apps
Unanswered

Filter multiple condition

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • RusselThomas Profile Picture
    4,014 on at

    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

  • Verified answer
    v-monli-msft Profile Picture
    on at

    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

  • gamos Profile Picture
    8 on at

    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. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard