Showing results for 
Search instead for 
Did you mean: 
New Member

Set variable for dropdown and use it as default



I have been reading some of the threads on variables, but I just cant make it work. I have several dropdown menus I would like to have the result set as variable and then use that variable as a default so that i don't have to change it if i have several items i need to add to the SharePoint with similar parameters. I have tried everything and now my powerapp wont even pass the drop down selection to the sharepoint. What am I doing wrong? where can I find more resources about variables and setting them as defaults. 




Super User
Super User


1) Move your OnSelect formula to the OnChange action

2) Set the DefaultSelectedItems property to: varLoc


I hope this is helpful for you.

Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
New Member

Thanks, was able to pass it as a table Table({varLoc}), now the data wont update on the sharepoint list. 😞

Helpful resources

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,662)