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 / Gallery Record Display
Power Apps
Unanswered

Gallery Record Display

(0) ShareShare
ReportReport
Posted on by 1,265

I have a gallery that is based on the following.  What I would like is for the gallery to NOT display completed items unless the "Completed" Radio Button is selected.  How should I modify "Items" portion.  I have included a pic of the FilterPane at the end of this posting.

 

With(
{
_items:
Filter(
'Safety Good Catch Items',
(
IssueType.Value = Dropdown2.Selected.Value ||
Dropdown2.Selected.Value = Blank()
) &&
(
AssignedToDN = Dropdown1.Selected.FullName ||
Dropdown1.Selected.FullName = "---"
) &&
(
Status.Value = statusRadio.Selected.Value ||
statusRadio.Selected.Value = Blank()
) &&
(
!Checkbox1.Value ||
CreatedByEmail = User().Email
)
)
},
Filter(
_items,
DaysOldRadio.Selected.Value = Blank() ||
Switch(
DaysOldRadio.Selected.Value,
"0-30",
DaysOld = 0 || DaysOld <= 30,
"31-60",
DaysOld > 31 && DaysOld <= 60,
"61-90",
DaysOld > 61 && DaysOld <= 90,
"91-120",
DaysOld > 91 && DaysOld <= 120,
">120",
DaysOld > 121)))

 

RJF61_0-1697028909355.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at

    @RJF61 

     

    I would change this part.

    Status.Value = statusRadio.Selected.Value ||
    statusRadio.Selected.Value = Blank()

     

    to something like

    Status.Value = statusRadio.Selected.Value ||
    (statusRadio.Selected.Value = Blank() && MyColumnForStatus != Completed)
    
    this way you are making sure that it has to be checked to see completed.
    
    And my sample is just a sample as you might be using a Choice or a number I dont know.


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • RJF61 Profile Picture
    1,265 on at

    @FLMike Thanks for the response.  I did try the following and received all records (but not Complete as expected).  How do I deal with the delegation warnngs?  

     

    RJF61_0-1697047490622.png

     

  • Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at

    @RJF61 

     

    Does the back end have to be a choice? Could it be an int that you simply set the values to an int based on what they selected?

     

    Wasn't sure if you have other UI's that use these. If you use an int, you can do = and no delegation issue.

    Choices, can be more tricky.

     

    I have some thoughts, let me look into them before I say for sure.


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard