Notifications
Announcements
I have a selection box in a form and am trying to pass the selected value to a global variable. I have a submit button which submits the form. The first step in OnSubmit is to pass the select box value to the variable. What I have is:
Hi @StaceyGriffeth ,
Your current formula is passing a single column table to the variable.
For example.
What does "Not pass" refers to? Is it the fact that when you click on a variable, the value is displayed as blank? Or the variable cannot be displayed on a control?
Best regards,
Rimmon
Hi @v-mengmli-msft This selection box presents a list of names from a sharepoint list. The selected name is what should be captured in the variable. What I say it isn't passing to the variable, I mean that it is not setting the variable's value. I checked this by adding a text label and setting the variable as the value.
@v-mengmli-msft I got it to work by using Selected instead of SelectedItems
Glad to hear the problem has been solved, I will accept this reply as a solution to mark this problem is over.
Thanks for using PowerApps.
————————————————————————————————————————————————————————————
If my answer helps you solve the problem, please accept it as a solution.
If you have another question, please post it as new question in the forum.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kalathiya 445
WarrenBelz 386 Most Valuable Professional
MS.Ragavendar 321 Super User 2025 Season 2