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 / Syntax Filter gallery ...
Power Apps
Unanswered

Syntax Filter gallery / Exclude a certain value with Operator "Not equal"

(0) ShareShare
ReportReport
Posted on by 203

Hi Community

 

I can't figure out the Syntax if I want to exclude the value HR from 'Zuständige Abteilung' when filtering.

 

Filter( 'Mitarbeiter Onboard Tasks';Aufgabenbesitzer.Email = "johndoe@tesla.com" && Aufgabenstatus.Value = "Offen" || Aufgabenstatus.Value = "In Bearbeitung" || Aufgabenstatus.Value = "Wartestellung" || !("HR" in 'Zuständige Abteilung'))
 
I am grateful for any help.
 
Greetings
Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Hi @bob_taylor_pp 


    Here is a modified version of your code:

    Filter(
     'Mitarbeiter Onboard Tasks', 
     Aufgabenbesitzer.Email = "johndoe@tesla.com" && 
     (Aufgabenstatus.Value = "Offen" || Aufgabenstatus.Value = "In Bearbeitung" || Aufgabenstatus.Value = "Wartestellung") && 
     Not("HR" in 'Zuständige Abteilung')
    )
    

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

     

  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @bob_taylor_pp ,

    try this

    Filter(
     'Mitarbeiter Onboard Tasks',
     MitarbeiterOnboardTasks.Aufgabenbesitzer.Email = "johndoe@tesla.com"
     && Or(
     MitarbeiterOnboardTasks.Aufgabenstatus.Value = "Offen",
     MitarbeiterOnboardTasks.Aufgabenstatus.Value = "In Bearbeitung",
     MitarbeiterOnboardTasks.Aufgabenstatus.Value = "Wartestellung"
     )
     && IsBlank(Search(MitarbeiterOnboardTasks.'Zuständige Abteilung', "HR", SearchMode. insensitive))
    )
  • bob_taylor_pp Profile Picture
    203 on at

    Not working. Datasource is Sharepoint Column of type look up. Could there be a problem with the region regarding syntax?

  • bob_taylor_pp Profile Picture
    203 on at

    Not working. Datasource is Sharepoint Column of type look up. Could there be a problem with the region regarding syntax?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard