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
Unanswered

Filter gallery

(0) ShareShare
ReportReport
Posted on by 102

Hello!

 

The checkbox is in a gallery that collects it's data from a collection:

Alice23_0-1630479518305.png

 

 

I make this dropdown, how can I make to see:

  1. - all the solved data when selected "Solved"
  2. - all the unsolved data when selected "Unsolved"
  3. -all data when nothing is selected ?
If(Dropdown4_2.Selected.Value="Solved",

Filter(? ,Checkbox3_6.Value=true),

If(Dropdown4_2.Selected.Value="UnSolved",

Filter(? ,Checkbox3_6.Value=false),

If(Dropdown4_2.Selected.Value=Blank(),

?)))

This is my code. With what can I replace the '?'  in the code ?

I can't replace it with the name of collection, because column Status is the only one that didn't collect data from a collection.

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Alice23 ,

     

    Could you tell me:

    If the status column is not in your collection, where does your status value come from?

    Is the items property of your gallery a collection name?

     

    Can you provide more information about the status column (check box)?

     

    Best Regards,

    Wearsky

     

  • Alice23 Profile Picture
    102 on at

    @v-xiaochen-msft  I just added a check box with code: 

    If(Checkbox3_6.Value,"Solved","Unsolved")

    in my gallery:

    Alice23_0-1630491146905.png

    And this is the code of what I wrote in Items in Gallery:

    Alice23_1-1630491253130.png

    With(
     {
     wList:
     If(
     IsBlank(TextInput_lista_4.Text),
     Sort(
     Cerere, 
     Titlul || Data_crearii_cererii || Adresa || Destinatar || Numarul_de_mijloace_de_transport_solicitate, 
     Ascending
     ), 
     Search(
     Cerere,
     TextInput_lista_4.Text, 
     ("Titlul"),
     ("Adresa"), 
     ("Destinatar"),
     ("Numarul_de_mijloace_de_transport_solicitate")
     ) )},
     ForAll(
     Sequence(CountRows(wList)),
     Patch(
     Last(
     FirstN(
     wList,
     Value
     ) ),
     {RowNo: Value}
     ) ))

     

     

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard