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 / navigating to gallery ...
Power Apps
Unanswered

navigating to gallery filtered for the selected menu item

(0) ShareShare
ReportReport
Posted on by

I want to add the following if condition to my filter gallery item:

 

If(Gallery2.Selected.Section="All",
ticket,
Filter(ticket,Section = Gallery2.Selected.Section)
)

 

Here's my current filter gallery:

 

Search(
Filter(
ticket,
IsBlank(ComboBox1.SelectedItems.Value) || IsEmpty(ComboBox1.SelectedItems) || Status in ComboBox1.SelectedItems,
IsBlank(ComboBox1_1.SelectedItems.Value) || IsEmpty(ComboBox1_1.SelectedItems) || Section = ComboBox1_1.Selected.Value
),
TextInput1.Text,
"{Identifier}","FirstName","LastName","Status","Section"
)

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @cs9331 ,

     

    Could you please tell me what the problem is with the code you're currently using? I hope you can describe it in as much detail as possible.

     

    Rimmon

  • Cts1993 Profile Picture
    25 on at

    I have an another screen (gallery2) that whenever the user select their section/department, they are navigating to their tickets only 

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @cs9331 ,

     

    Do you mean that only the user's own tickerts are displayed in gallery2?

    You can use "User().FullName" to filter the items in the gallery2.

    vmengmlimsft_0-1698645345616.png

    Add a column to the original data to store the user's full name, and then filter it.

    Items of gallery2:
    Filter(AddColumns(ticket,"FullName",Concatenate(FirstName," ",LastName)),User().FullName=FullName)

     

    Best regards,

    Rimmon

  • Cts1993 Profile Picture
    25 on at

    No. I want to combine the two above conditions 

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @cs9331 ,

     

    What are the two conditions? Filter and switch screens?

  • Cts1993 Profile Picture
    25 on at

    Yes 

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 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard