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 / Blank Gallery and form...
Power Apps
Answered

Blank Gallery and form Filter Based in Variable UpdateContext

(0) ShareShare
ReportReport
Posted on by 253

I need help:

 

Section1:
I have some buttons with UpdateContext variable used to filter my gallery. Exemple:

 "Button A"  formula UpdateContext({varStatusSelected: "1-ALL"}) ;   "Button B" formula UpdateContext({varStatusSelected: "2-Start"})     and another "Button C" UpdateContext({varStatusSelected: "3-Finish"}) and others two buttons with more two variable. Here, everything ok in formunla.

 

-------------------------------------------------------------------------------------------------------------------------------------------

 

Section 2:

I have a gallery where items property is set with the follow formula below related to the buttons above to be filtered:

If(
varStatusSelected = "ALL",
LISTNAME,
Filter(
LISTNAME,
Column_Status_Fluxo = varStatusSelected
)
)

Here is everything ok in fomula too. When I click on the specific filter "Button" the galerry is correctly filtered.

 

============================================================================

My problem is:

 

When I start my App and click on a specific button to navigate to page where the buttons filter and gallery described above is placed, the GALLERY and the FORM beside gallery (that receives gallery selected informations) appears in blank. I need the gallery and form appears with information after I click on button to navigate to the page where they are located. The information just appears after I click on filter button.

Is anyone help me with this issue, please? Follow some pictures with real scenario attached to this post.

 

Blank gallery and form (gallery filter formula ok example).JPG
Blank Gallery and Form (example ok, not blank).JPG
blank gallery and Form.JPG
Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @WendeReisss

    In the OnVisible property of the screen: UpdateContext({varStatusSelected: "All"}) and change the Items property to: 
    Filter(LISTNAME, varStatusSelected = "ALL" || Column_Status_Fluxo = varStatusSelected)

  • WendeReisss Profile Picture
    253 on at

    Thank you so much @Drrickryp .

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @WendeReisss 

    Happy to help!Happy to help!

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard