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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Question on modern gal...
Power Apps
Unanswered

Question on modern gallery

(0) ShareShare
ReportReport
Posted on by 14

I'm testing modern gallery with modern controls. So filters seem to be working fine, in most cases, but if I hit "Refresh the source" button, some of fields are becoming blank. Sometimes it occurs after I submit changes to items.

Gallery Items:

If(IsBlank(SearchBoxUser_Purchase_3.Text) And IsBlank(SearchBoxItems_Purchase_3.Text), SortByColumns('Purchase tracking',"StatusNew",["In progress"]), Sort(Filter('Purchase tracking', SearchBoxUser_Purchase_3.Text in 'Requested by', SearchBoxItems_Purchase_3.Text in 'Order details'),ID,SortOrder.Descending))

 

Refresh button: Refresh('Purchase tracking')

 

Any help would be appreciated

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    152,845 Most Valuable Professional on at
    Re: Question on modern gallery

    Hi @RosTravin ,

    Firstly, does it working a Classic Gallery ? If so, you might consider reverting to this until the Modern Controls are stabilised a bit better.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • RosTravin Profile Picture
    14 on at
    Re: Question on modern gallery

    I had the same issue on Classic gallery, so I tried the Modern.

  • WarrenBelz Profile Picture
    152,845 Most Valuable Professional on at
    Re: Question on modern gallery

    @RosTravin ,

    You are best staying with Classic- that exactly is ["In progress"] that you are sorting by ?

  • RosTravin Profile Picture
    14 on at
    Re: Question on modern gallery

    Yes, so In progress ones are always at the top of the list

  • WarrenBelz Profile Picture
    152,845 Most Valuable Professional on at
    Re: Question on modern gallery

    Hi @RosTravin ,

    What are the other values possible in StatusNew ?

  • RosTravin Profile Picture
    14 on at
    Re: Question on modern gallery

    hi Warren, only other option is "Closed"

  • Verified answer
    WarrenBelz Profile Picture
    152,845 Most Valuable Professional on at
    Re: Question on modern gallery

    Hi @RosTravin ,

    Sorting that column descending will put "In Progress" on top. Also I think you need Or rather than And in the bottom search

    If(
     IsBlank(SearchBoxUser_Purchase_3.Text) And 
     IsBlank(SearchBoxItems_Purchase_3.Text), 
     SortByColumns(
     'Purchase tracking',
     "StatusNew",
     SortOrder.Descending
     ),
     Sort(
     Filter(
     'Purchase tracking', 
     SearchBoxUser_Purchase_3.Text in 'Requested by' || 
     SearchBoxItems_Purchase_3.Text in 'Order details'
     ),
     ID,
     SortOrder.Descending
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • RosTravin Profile Picture
    14 on at
    Re: Question on modern gallery

    Warren, thank you!

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard