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 now showing da...
Power Apps
Suggested Answer

gallery now showing data correctly when published

(1) ShareShare
ReportReport
Posted on by 11
I have a gallery that is being filtered by various text inputs and date pickers. in preview mode it works as intended, but once it's published it shows no data until you type in a search criteria and tab through all the inputs. even after resetting the inputs, you must type in what you're searching for and then hit tab through every text input and date picker before it will show the data. again, this issue does not exist in preview mode but only published version. 
 
here is the code on the gallery 
Filter(
    Aspect_CQ_Log,
    Or( StartsWith(
        BarcodeNumber,
        BarcodeSearchTxt.Value
    )),
    Or( StartsWith(
        Press,
        PressNumSearchTxt.Value
    )),
    Or( StartsWith(
        CQType,
        CQTypeSearchTxt.Value
    )),
    Or( StartsWith(
        OperatorName,
        OperatorNameSearchTxt.Value
    )),
   
    Or(
        IsBlank(CQSearchStartDat.SelectedDate),
        Date >= CQSearchStartDat.SelectedDate
    ),
    Or(
        IsBlank(CQSearchEnddat.SelectedDate),
        Date <= CQSearchEnddat.SelectedDate
    )
)
 
Screenshot 2024-07-26 080241.png
Screenshot 2024-07-26 080348.png
Categories:
I have the same question (0)
  • Suggested answer
    WarrenBelz Profile Picture
    155,632 Most Valuable Professional on at
    I suspect you need And() in there somewhere with the dates - also set the Default of your search boxes to "" (empty string)
    Filter(
        Aspect_CQ_Log,
        And(
          Or( 
             StartsWith(
                BarcodeNumber,
                BarcodeSearchTxt.Value
             ),
             StartsWith(
                Press,
                PressNumSearchTxt.Value
             ),
             StartsWith(
                CQType,
                CQTypeSearchTxt.Value
             ),
             StartsWith(
                OperatorName,
                OperatorNameSearchTxt.Value
             )
          ),
          Or(
             IsBlank(CQSearchStartDat.SelectedDate),
             Date >= CQSearchStartDat.SelectedDate
          ),
          Or(
             IsBlank(CQSearchEnddat.SelectedDate),
             Date <= CQSearchEnddat.SelectedDate
          )
       )
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard