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 Apps
Answered

Gallery Filter

(0) ShareShare
ReportReport
Posted on by 46

Hi I am trying to filter the Gallery with 

 

Filter(
Beschaffungen;
'Created By'.Email = User().Email;
If(
FilterbyApproved = true;
Status.Value = "Abgeschlossen";
Status.Value <> ""
);
If(
FilterbyOffen = true;
Status.Value = "in Klärung mit EK" Or "in Klärung mit WL" Or "in Klärung mit AL";
Status.Value <> ""
)
)

 

but app check is showing warning that "filter" might not work with big datasets.

 

How can I improve this?

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

    @rishimarde 

    First, you cannot "Or" conditions like that in a formula.  And second, you also cannot delegate a filter for not blank - <> ""

     

    Based on your formula, I am not sure that you actually need the Status.Value <> "", 

    so, Please consider changing your Formula to the following:

     

    Filter(Beschaffungen;
     'Created By'.Email = User().Email;
     !FilterbyApproved || Status.Value = "Abgeschlossen";
     !FilterbyOffen || (Status.Value = "in Klärung mit EK" || Status.Value = "in Klärung mit WL" || Status.Value = "in Klärung mit AL")
    )

     

    I hope this is helpful for you.

  • rishimarde Profile Picture
    46 on at

    Thank you so much!! That worked👍

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 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard