web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard