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 Platform Community / Forums / Power Apps / Variable not storing v...
Power Apps
Unanswered

Variable not storing value

(0) ShareShare
ReportReport
Posted on by 73

Hi Guys,

 

I have a dropdown control inside a gallery and I am setting a variable to read and store data in that. I am using this variable to show and hide a datacard outside of gallery control.

 

Now the issue I am facing is the variable value at first is showing blank then when I change the choice it's reading the last chosen value. Can you guys please help.

 

Set(varDisposal, Gallery1.Selected.Disposal.Value)

Categories:
I have the same question (0)
  • Meg5 Profile Picture
    38 on at

    @sharjeel_123  can you explain further what your trouble and some screenshot, It would be more details.

  • sharjeel_123 Profile Picture
    73 on at

    I have a gallery inside that I have a dropdown control which is a choice column say A,B,C.

    I have a datacard which is outside of my gallery and I want to set visible property of that data card on the outcome of dropdown control selection. Say On selection of C show datacard else hide

     

     

     

     

  • Meg5 Profile Picture
    38 on at

    @sharjeel_123 , its not very clear for me to understand, you mean a gallery and each item in gallery have a dropdown control ?? and you have a card somewhere not in the gallery, then when you select dropdown value C, the card is hidden?

    maybe you can put some screenshots 🙂

  • sharjeel_123 Profile Picture
    73 on at

    @Meg5  I am afraid I can't give you the screenshots. Though your understanding seems correct to me

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 739 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 268

Last 30 days Overall leaderboard