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 with gallery
Power Apps
Unanswered

Filter with gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a problem with a filter 

I need to filter only the items that isn't equal to "N/A" I tried with this sentence

 

 Filter(DetalleVisita, Transporte<>"N/A" , Transporte2<>"N/A", 'Estado/Ciudad'<>"N/A") 

but i have a warning delagation

JacquelineRiiv_0-1643224857713.png

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    You cannot delegate the not operator!  If your datasource is over 2000 records, then delegation will be something you need and you'll either need to consider a prefilter of your data or an alternate method.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    My datasource only have 400 records

    how can I do a prefilter?

    Thanks

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    If you only have 400 records, then you can ignore the delegation warning.

    As long as your record limit in the app is greater than the number of records you have in that list, you will be fine.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Even If i ignore the warnig the gallery doesn't show items that filter search 

    JacquelineRiiv_0-1643226504405.png

    Any idea what i do?

    Thanks for your reply

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    That is a different issue than delegation.

    What are you expecting to see in your Gallery?

    According to your formula:

       Filter(DetalleVisita, Transporte<>"N/A" , Transporte2<>"N/A", 'Estado/Ciudad'<>"N/A") 

    ALL three columns (Transporte, Transporte2, and 'Estado/Ciudad') will all need to NOT be N/A in order to show up in your list.

    Is that what you are looking for?  Nothing should be "N/A"?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    For example 

    I have  columns "Transporte" "Transporte2" "estado/ciudad"  if all of them have "N/A" that item i don't need to see  but if one of 3 columns is different to "N/A" i need to see

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Then your formula should be:

    Filter(DetalleVisita, Transporte<>"N/A" || Transporte2<>"N/A" || 'Estado/Ciudad'<>"N/A") 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard