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 using toggle bu...
Power Apps
Unanswered

Filter using toggle button not working along with sort

(0) ShareShare
ReportReport
Posted on by 55

I'm tying to filter the gallery by the person who created items, and hide if the status is "Checked Out" using a toggle button. It showing error like below could you please assist.

 

raneesh_mr_0-1632820895684.png

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    If(HideCompleted.Value=true,

    Sort(Filter('Visitor Log','Created By'.Email = User().Email && Status.Value<>"ChekedOut"),"ID",Ascending),

    Sort(Filter('Visitor Log','Created By'.Email = User().Email),"ID",Ascending))

  • raneesh_mr Profile Picture
    55 on at

    Thank you @zmansuri  for your quick update

     

    I'm getting a delegation warning like below and the gallery not showing any value while toggle is true or false.

     

    raneesh_mr_0-1632822987285.png

     

     

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    If you have less than 2000 records you can ignore delegation. Code is correct make sure you are using corrects column names. Try not filtering at all to see the output

  • raneesh_mr Profile Picture
    55 on at

    The records are below 2k. 

    When i apply 

    Sort(Filter('Visitor Log','Created By'.Email = User().Email),"ID",Ascending) it showing items,

    however the gallery is empty when i use the code you shared.

    Instead of "Status" i can filter if "Check out date" is empty also.

    Please advice.

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 1,041

#2
11manish Profile Picture

11manish 676

#3
Valantis Profile Picture

Valantis 655

Last 30 days Overall leaderboard