Power Apps Combo Box DefaultSelectedItems

  Рет қаралды 114,616

Shane Young

Shane Young

3 жыл бұрын

It is no secret that the Combo box is a grumpy control. So in this video I break down how to make it less grumpy by setting its default(s). I also teach a bit on the Table function, in operator, and hand crafting a record. Good ole fashion nerdy fun!
Power Apps Consulting and training at www.PowerApps911.com

Пікірлер: 317
@ssccservlearn
@ssccservlearn 9 күн бұрын
Saved the day for me today! Was beating my head against the way trying to figure out how to show previously selected values from a hard-coded dropdown list.
@ShanesCows
@ShanesCows 8 күн бұрын
Awesome, glad to help. 😎
@danilogamut
@danilogamut 3 жыл бұрын
Saved my life on that comma-delimited source... Appreciate your videos man! Life saver!
@richardberriman
@richardberriman 11 күн бұрын
After all this time, these still do my head in, plus I had to clear out a table again and again and have the items column renamed to value from a more logical name...but it finally worked. Thank you!
@anirudsaichenna3158
@anirudsaichenna3158 3 жыл бұрын
Great Explanation Shane, appreciate sharing your knowledge, I caught up into a problem with Combo box and almost spent a day trying to resolve, but had no luck, and I started looking for help over internet and came across your video which helped in solving my problem in less than 30mins. thank you very much
@junbecks
@junbecks 8 ай бұрын
Although Ive watched these videos before, rewatching them and realizing its so much easier to follow when Ive gained more experience is satisfying. Loved when you renamed columns from result to value, its like telling powerapps “look at me, Im the captain now”
@puddin32
@puddin32 2 жыл бұрын
THANK YOU. You helped me solve my immediate problem, and you helped me to better understand some of the fundamentals MUCH better than I did 15 minutes ago!!!!
@Mr_Poppea
@Mr_Poppea 3 жыл бұрын
Looking under the hood like this is always expands my understanding. Thank you.
@ShanesCows
@ShanesCows 3 жыл бұрын
That was my hope. 😍
@georgeflefel504
@georgeflefel504 2 жыл бұрын
After hours spent trying to figure out why the default selected item was displaying blank this finally cleared it up for me! (The mismatch of Result and Value column names) You're my hero!!
@BriJ19
@BriJ19 2 жыл бұрын
Life saving video! 40 minutes from a meeting with clients and couldn't get my repeating tables with combo boxes to keep their values!!! THANK YOU!
@ShanesCows
@ShanesCows 2 жыл бұрын
Glad you got it. 😊
@optimisesocialmedia
@optimisesocialmedia 3 жыл бұрын
Shane! I love you!!!!!!! I have been baching my head against a wall for days on this problem and you come up trumps again. Thank you !
@bbyars
@bbyars Жыл бұрын
This is awesome! I fall into the category that needed to watch well beyond the 5-minute mark. Great video, this answers EXACTLY what I was needing to know.
@ShanesCows
@ShanesCows Жыл бұрын
Awesome! Thank you!
@sylvainscharlet1897
@sylvainscharlet1897 2 жыл бұрын
Hi Shane ! Thanks a lot for this tip I get more and more skilled with powerapps but I have to admit that you are my true master, I learnt powerapps and lanched a compagny thanks to your vidéos, out of this everything changed in my life as a total freelance now, when I will be richer I swear I'll propose you and family a plane ticket for holidays in Marseille and pay you a the best bouillabaisse on the vieux port ... I assume in one year or two ... thx
@ShanesCows
@ShanesCows 2 жыл бұрын
Congrats on the success Sylvain. You did all of the hard work of learning and applying. No holiday required. Use your hard work and good fortune to take care of your family. That is all I want. 😊
@user-ys9xy2we5x
@user-ys9xy2we5x 4 ай бұрын
I have referred back to this video so many times. Thank you for continuing to make useful content!
@spumon
@spumon 2 жыл бұрын
Amazing. Here are some that I had a hard time discovering and some that I couldn't. Learning from this video made my app even better.
@ShanesCows
@ShanesCows 2 жыл бұрын
That is awesome 😎
@user-vi1ww4xh1t
@user-vi1ww4xh1t 9 ай бұрын
I thank you from the bottom of my heart good sir. Your video gave me my confidence back, after spending 2h30 banging my head against a wall, trying to manage a combobox through its default property.
@ShanesCows
@ShanesCows 9 ай бұрын
Glad I could help, I hope your head doesn't hurt too bad. :)
@cdunsford
@cdunsford Жыл бұрын
Thank you Shane! I've created a AppSettings SharePoint list where I am storing app settings (defaults for filters, showing or hiding table columns, etc). Being able to grab a comma delimited string and set the DefaultSelectedItems from the SharePoint column is key to the success of this feature request in my solution...thank you!!
@aarondeimund9511
@aarondeimund9511 3 жыл бұрын
Hours of looking on Microsoft's documentation and you salved my problem in 5 minutes. Well done!
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome 😎
@jimhoeger5232
@jimhoeger5232 2 жыл бұрын
Excellent video. Concise, yet thorough, as usual.
@ShanesCows
@ShanesCows 2 жыл бұрын
Much appreciated!
@mdhabeeb4696
@mdhabeeb4696 10 ай бұрын
Ohhh my godd.. Thanks alot I was searching for setting the default value of a combo box from a text box since 3hrs. You just explained it in an excellent way. Thanks alot. Keep doing more videos like this😍
@ShanesCows
@ShanesCows 10 ай бұрын
Glad I could help
@olivaadak
@olivaadak 3 жыл бұрын
seriously you are a life saver! this turorial gave the idea how I should go with this defaultSelectedItems. thanks!
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome! 🐶
@erik8362
@erik8362 2 жыл бұрын
Great video as always. Just a quick insight I had: When selecting defaults on a combobox with a database table source, you can not use a function as a filter criteria as the query delegation will not work (e.g. LookUp(DBTable, Col1 = First(PowerBIIntegration.Data).col1). To solve this you first need to set a variable that can be used for filtering (e.g. Set(_varDBTable, First(PowerBIIntegration.Data).Col1 )); and default item= LookUp(DBTable, Col1 =_varDBTable)
@GwenJones-mx9vl
@GwenJones-mx9vl Ай бұрын
Thank you for going the extra mile! Those are the videos that help! Anyone can be basic!
@ShanesCows
@ShanesCows Ай бұрын
You are so welcome!
@davidesparza4905
@davidesparza4905 3 жыл бұрын
Shane thanks for all your videos, you keep me inspired on learning new stuff, you're my idol :) !
@ShanesCows
@ShanesCows 3 жыл бұрын
Happy to hear that!
@athenadepper4597
@athenadepper4597 3 жыл бұрын
When I have an issue I almost always end up at your videos! I just need to start coming here first :)
@ShanesCows
@ShanesCows 3 жыл бұрын
You do. 😜 Glad to help.
@GerlofKasma
@GerlofKasma 2 жыл бұрын
Yes! That tutorial gave me the right inputs to get my combobox working (had this in the items "Choices([@'Project Reporting'].Customer)" and could not get it to select (and remember) the item from the gallery that was selected. Now it's done through this in the defaultselecteditems box: "LookUp(Choices([@'Project Reporting'].Customer), Value = glr_Reports.Selected.Title)"
@pisanchitphanthanakorn1304
@pisanchitphanthanakorn1304 3 жыл бұрын
Wow what a great tricks. You alway teach me new thing. Thank you so much Shane
@ShanesCows
@ShanesCows 3 жыл бұрын
Glad you enjoyed it!
@jhhatcher1885
@jhhatcher1885 2 жыл бұрын
Shane - I am truly a fan... I was in the same boat as another commenter - nothing seemed to work. But then I re-watched and applied the {Value: "ItemName"} method you used in the hard coded section for my issue - and it worked like a charm. Whoo Hoo, THANKS!
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesome!
@pauldavis9789
@pauldavis9789 2 жыл бұрын
Still useful today after being posted 14 months ago. Matching the items column header within the defaultselecteditems and renaming the column to match it fixed my issue. Thanks
@ricci.hidalgo
@ricci.hidalgo 3 жыл бұрын
Fun to watch learning at the same time. Thanks a lot!
@ShanesCows
@ShanesCows 3 жыл бұрын
Glad you enjoyed it!
@webdevca
@webdevca Жыл бұрын
thanks for the tip about the split function and the renaming the column from result to Value
@ShanesCows
@ShanesCows Жыл бұрын
Glad it helped!
@ThePumaso
@ThePumaso Жыл бұрын
THANK YOU! Excellent, easy to understand, to the point!
@ShanesCows
@ShanesCows Жыл бұрын
Happy to help. Have a great day. 🐶
@cijoypf
@cijoypf Жыл бұрын
Thank you for another great video Shane.
@ShanesCows
@ShanesCows Жыл бұрын
Glad you enjoyed it
@Consciousphotography
@Consciousphotography 3 жыл бұрын
Thank you for your contribution. I was struggling with the combo box and was looking for some help
@ShanesCows
@ShanesCows 3 жыл бұрын
You are welcome!
@17avskadoo
@17avskadoo 11 ай бұрын
You did so much heavy lifting buddy kudos to you. Awesome job, Thanks a lot !!!!
@ShanesCows
@ShanesCows 11 ай бұрын
Happy to help. Have a great day. 🐶
@franknielsen7713
@franknielsen7713 2 жыл бұрын
F..... awesom with the solution with renaming columns. Have saved me hours of work if I had just taken my time to watch the whole video. THX again Shane 🤦‍♂️🤦‍♂️🤦‍♂️
@ShanesCows
@ShanesCows 2 жыл бұрын
Glad to help Frank.
@IamSanjayPersad
@IamSanjayPersad 8 ай бұрын
Great video. Exactly what I was looking for. Keep up the awesome work.
@ShanesCows
@ShanesCows 8 ай бұрын
Glad it helped!
@IamSanjayPersad
@IamSanjayPersad 8 ай бұрын
@@ShanesCows Hey Shane is there a way to set multiple persons as a default in a people picker using this code: { Claims: Concatenate( "i:0#.f|membership|", User().Email // Person email ), Department: "", DisplayName: User().FullName, Email: User().Email, // Person email JobTitle: "", Picture: "" }
@joeeydrift
@joeeydrift 2 жыл бұрын
Thank you for this video. you are awesome Shane!
@ShanesCows
@ShanesCows 2 жыл бұрын
My pleasure!
@chaddruck8694
@chaddruck8694 2 жыл бұрын
Thanks! Makes sense now on the combo defaults.
@ShanesCows
@ShanesCows 2 жыл бұрын
Happy to help. Have a great day. 🐶
@danher4607
@danher4607 Жыл бұрын
Shane, you are very good, you saved me again.
@zero2herobeatspaul882
@zero2herobeatspaul882 3 жыл бұрын
It's a shame I can only subscribe and like once. Excellent content. These are great times, with all the development that Microsoft is putting behind PowerApps.
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks for the support. 🐶 We will take your once and appreciate it.
@AssassinUK
@AssassinUK 3 жыл бұрын
Perfect. Just when I needed it as well.
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome
@Leighau
@Leighau 2 жыл бұрын
Thank you! Thank you! Thank you! The last method has made my day. Was worth watching the whole thing. Great Content Shane, Really appreciate you taking the time to explain these quirks in a simple way. My case was that the user can select a button to set the default form data. Button onSelect: UpdateContext({tempStr:TrimEnds(Concat(LookUp('Cert-FormDataTemplates',TemplateName = localTemplate,Stages).Value, Value&" "))}) my combo box has this code; items: ShowColumns( Filter('Cert-ChoicesDataList',Not(IsBlank(Stages))),"Stages") DefaultSelectedItems: Filter(ShowColumns( Filter('Cert-ChoicesDataList',Not(IsBlank(Stages))),"Stages"),Stages in tempStr) I tried so many forums and got nowhere until I watched this. You are brilliant! Thanks mate
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesome. Makes my day when someone understands the deeper concept then just the answer. Good job! 🐶
@KaiWeissmann
@KaiWeissmann 10 ай бұрын
Thanks a ton for this video! Helped a lot!
@ShanesCows
@ShanesCows 10 ай бұрын
You're welcome!
@greenberetsp
@greenberetsp 2 жыл бұрын
Thanks Shane, you are the best!!!!!!
@ShanesCows
@ShanesCows 2 жыл бұрын
Thanks 🙏
@paulwohnoutka8489
@paulwohnoutka8489 2 жыл бұрын
Thanks Shane, always appreciate your videos. I'm using the steps provided in your repeating table videos and have added a combo box to the gallery. The combo box selections do save in the collection. When I create a new record in the gallery, the context in the saved text fields remain on the display but the combo box selected item disappears. What am I missing?
@alexchang414
@alexchang414 Жыл бұрын
You are a true life saver. Thanks mate 👍👍👍👍👍👍 More thumbs up 👍👍👍👍👍 Thx
@ShanesCows
@ShanesCows Жыл бұрын
Glad it helped
@TraderZo1
@TraderZo1 3 жыл бұрын
You read my mind with this issue Shane! Multi Select filter to Multi Select!
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome
@CarlosSolisNow
@CarlosSolisNow 10 ай бұрын
Pure spun gold, Shane
@ShanesCows
@ShanesCows 10 ай бұрын
Thanks Carlos!
@mohitdeshpande1851
@mohitdeshpande1851 Жыл бұрын
Awesome video!
@ShanesCows
@ShanesCows Жыл бұрын
Happy to help. Have a great day. 🐶
@LapaConsult_Ex_Macraris
@LapaConsult_Ex_Macraris 3 жыл бұрын
Thank you Shane!
@ShanesCows
@ShanesCows 3 жыл бұрын
Glad to help 😀
@fabianvillegas6313
@fabianvillegas6313 2 жыл бұрын
Thanks, my problem was whith record value and I could not understand the problem, you video was was amazing for me.
@ShanesCows
@ShanesCows 2 жыл бұрын
You're welcome!
@adriennemcgowan8242
@adriennemcgowan8242 3 жыл бұрын
This is awesome. I'm using the steps provided in your repeating table videos and everything worked until I needed to make a change to one of the fields in the gallery to be a combo box. Being that once you save the value and go to the next line it doesn't retain what you entered in the first line. I added a ForAll to the DefaultSelectedItems. Now the portion that says when the Save Button is available seems to never be enabled despite saving each line. By setting a value in the DefaultSelectedItems does that make it seem that there is a already a value in the field being that you haven't selected anything yet?
@MSandovalPhD
@MSandovalPhD 8 ай бұрын
Again, thank you, Shane! You are a rockstar. That bloody combobox "Default" field is confusing, why did they keep it there if it doesn't have any use!
@ShanesCows
@ShanesCows 8 ай бұрын
I wish I knew, I wish I knew. 🥲
@DreW-bm7fc
@DreW-bm7fc Жыл бұрын
Thank you so much Shane
@ShanesCows
@ShanesCows Жыл бұрын
You are very welcome Dre.
@michaelmerritt4942
@michaelmerritt4942 7 ай бұрын
Hi Shane, I have had a lot of trouble setting the default selected items of a combo box when looking at a choices column. This seems to be a fundamental thing in Dataverse / Power Apps, using a combo box for a choices column but wow is it hard to find a way to set the default selected item. You mention the solution during the video, I use something like this: {Value: varRecord.'Choices Column'}. I use this in several places in almost all of the apps I build. Thanks for dropping that in there. I feel like this should be a bigger deal... This is the only place I have found this technique mentioned.
@johnheck1551
@johnheck1551 3 жыл бұрын
Another great video Shane. One question, have you done a video on combobox and how to display the current value from a selected gallery versus being able to select a item from the combobox on a new form and then how to write the new selection to the sql table that the form uses?
@alistairmonro
@alistairmonro 2 жыл бұрын
I just had this very issue, I had to save the selected record to a variable then use that like this.. If(editMode = true,Filter(Departments,Name = varSelectedItem.Department)).Name or this... If(editMode,LookUp(tbl_NonStockSuppliers,Name = varSelectedItem.Supplier,ThisRecord)) then just use patch/update for SQL
@michaeldeabreu2020
@michaeldeabreu2020 3 жыл бұрын
Great Video Shane. I would love to see Combox used in a gallery. I have still not got this to work where you can have items in a collection the use a combobox within the gallery to 1) select values and then 2) Default the values when coming back to edit. Comboboxes in a gallery using the OnChange to patch a collection end up going into an infinite loop as the onChange and DefaultSelectedItems conflict.
@ShanesCows
@ShanesCows 3 жыл бұрын
On change can cause loopiong. Maybe force the user to press a button to do the save instead of OnChange?
@jnotbusch
@jnotbusch 3 жыл бұрын
he did a very good video on changing just one record in a gallery and saving/updating it.
@JT-sr7fp
@JT-sr7fp 3 жыл бұрын
Hi Shane, thanks for another great video. How do you use a combobox with another data source in a form? Both databases I have are from a sql database but different tables, for example I need a searchable combobox to look at a suppliers sql table and save the chosen value back to my repairs sql table when submitted through my form..? :)
@moyura2
@moyura2 2 жыл бұрын
This is very usedfull information, thank for sharing.
@ShanesCows
@ShanesCows 2 жыл бұрын
Happy to help. Have a great day. 🐶
@yeraldo05
@yeraldo05 3 жыл бұрын
Awesome video Shane I learned a couple of really cool stuff from this video! I have a question, how can I use the Combo Box and New Form thus when I type the name in the Combo Box, it shows me the record in Edit Mode Form? Thanks for your help!
@ShanesCows
@ShanesCows 3 жыл бұрын
You would want to set the Item property of the form to be the ComboBox.Selected assuming they both were usign the same data source
@brunomagalhaes9349
@brunomagalhaes9349 2 жыл бұрын
Once again, great content Shane, thank you very much! In one of my apps my registering several items according the distinct value of a table. For instance, it starts asking for a item, and then the quantity box shows up to insert a value. When I put the quantity the 2nd box item shows up, but the box shows the item I choose in the 1st. Do you know a simple way of removing the value from the 1st box in the 2nd box? Best regards.
@anthonyleduc
@anthonyleduc 2 жыл бұрын
You solved my issue..thank u so much
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesome! 🤩
@andrewvalenzuela1790
@andrewvalenzuela1790 3 жыл бұрын
Thank you, I wish the powerapps docs had more example of how to use the various controls
@ShanesCows
@ShanesCows 3 жыл бұрын
😊 more is always better
@tristangeoffroy9286
@tristangeoffroy9286 2 жыл бұрын
Shane, thank you very much, I mean really MUCH ;-) I spent so much time on this apparently easy thing. …
@sivakarunanithi2020
@sivakarunanithi2020 Жыл бұрын
Really awesome... thanks for this video... it was very useful for me... :)
@ShanesCows
@ShanesCows Жыл бұрын
Most welcome 😊
@replicade1
@replicade1 2 жыл бұрын
Thank you. Very usefull video
@GoWstingray
@GoWstingray 3 жыл бұрын
Always rely on you Shane! Stupid past me stored a column as a text value, with the control in the app a combobox, then the customer says we want multiple values in that column. Crap i cant change it to a lookup now i will loose all my data! Split to the rescue with rename columns haha Thanks!
@ShanesCows
@ShanesCows 3 жыл бұрын
Perfect 👌
@oluwatobiyusuf
@oluwatobiyusuf 2 жыл бұрын
Thank you for this video
@ShanesCows
@ShanesCows 2 жыл бұрын
My pleasure
@papithasekar9567
@papithasekar9567 3 жыл бұрын
Thanks again for the good informative video Shan, IF you don't mind,can you tell me how to set defaultselected item from CDS to combobox
@GPZ_Biker
@GPZ_Biker 8 ай бұрын
Hi Shane, I'm loving your videos and they help a lot. Could you please help me understand how to pass a global variable into a combobox in a new form. So if I click from a Gallery onto a new page to add a record (1 to many for recording notes on a task), how do I pass the primary key into the notes form with foreign key. Thank you
@kamozzi1
@kamozzi1 2 жыл бұрын
great video Shane, quick question, how would i go about default a value from a listgroupmembers connection for the selected item from the gallery?
@trolllogic2897
@trolllogic2897 Жыл бұрын
Hi Shane! Thanks for the combobox tutorial. I have a question though. I'm trying to get the default values inside the combo box within the 'defaultselecteditems' property. While it does show the values inside the combobox, the values cannot be retrieved or displayed and the combobox is considered as empty unless the values are re-selected. Is there a workaround for this? thanks!
@rolyatecnal
@rolyatecnal 3 жыл бұрын
AT 8:14 I saw the Light! Thanks Shane!
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome Lance. Hope all is well. 😎
@dr.mohammedmohammed7633
@dr.mohammedmohammed7633 2 жыл бұрын
O meeen this really valuable video
@TheDouglasDale
@TheDouglasDale 2 жыл бұрын
Thank you sir!
@ShanesCows
@ShanesCows 2 жыл бұрын
Glad to help. 😀
@johanynavarro8065
@johanynavarro8065 3 жыл бұрын
It took me a couple of days to realize about this, combo boxes are amazing but sometimes are strange
@ShanesCows
@ShanesCows 3 жыл бұрын
Combo Boxes do what Combo boxes want to do 😂
@prakashamc
@prakashamc 3 жыл бұрын
Great explanation, I have a collection of persons, I need to select default all the persons. Thanks.
@ShanesCows
@ShanesCows 3 жыл бұрын
Glad it was helpful!
@louiscutmore
@louiscutmore 3 жыл бұрын
Brilliant!
@ShanesCows
@ShanesCows 3 жыл бұрын
You are too Kind Louis! 🙌
@maxjalil2114
@maxjalil2114 Жыл бұрын
nice one Shane
@ShanesCows
@ShanesCows Жыл бұрын
Thanks Max
@ashimishra23
@ashimishra23 Жыл бұрын
Another nice video from you, Shane! Thanks (y) . Quick query - I have combo box as one of the field in my form. I selected - more than one value in combo box , (say 2 out of 5)and submitted the form. When I open the form in EDIT mode, how can I see those 2 values as preselected in combo box along with other 3 values?
@ShanesCows
@ShanesCows Жыл бұрын
If you are using a Form control that should automatically be set, you shouldn't have to do anything. Did you check the DefaultSelectedItems. Did you also make sure your data is being saved to the data source.
@ashimishra23
@ashimishra23 Жыл бұрын
Hi Shane, Yes my data is being saved. I have 2 comboboxes in my form - 1 is single select, another multiselect. When I open form in EDIT mode , I am able to see previously selected values in the multiselect combobox but when I click on the down arrow to see the complete list - those pre-selected values are NOT highlighted. Highlight helps in identifying which values were submitted previously and which values have not been selected earlier. Please note; for both comboboxes, data is being fetched from another list.
@365assistdarrenlutchner9
@365assistdarrenlutchner9 3 жыл бұрын
Thank you again for saving me from losing more hair.
@ShanesCows
@ShanesCows 3 жыл бұрын
Of course! 🐶
@filipuppsall-sjogren114
@filipuppsall-sjogren114 3 жыл бұрын
Hey Shane... thanks for all the great videos. I tried something and didn't manage to solve it... so I changed my approach... but I'm curious to see you show how it can be done. I had one gallery and one form to show that record... and then I had another smaller form for users to fill out "requests" on the selected gallery Record... The second form had one prepopulated field for the "Record ID" from the selected gallery record, so I could keep track on which record the request was attached to. However in my attempts to be "clever" I used two sharepoint lists... where that ID-column in the second list was linked to the ID-column of the first list. Now, no matter how I tried I couldn't get that column populated with the selected records ID when I submitted the second form. So finally I just turned it into a simple number column to get it to work. But I would love to know how it was supposed to be done... because I think I was close...
@ashokpershad
@ashokpershad 3 жыл бұрын
Looking Fresh Shane.. ;)
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks 🤩
@CarFinanceSimplified
@CarFinanceSimplified Жыл бұрын
Great video as always. I ahve an issue though. When I set my DefaultSelectedItems to {Value: ThisItem.}, even though the item shows as a default, PowerApps thinks the ComboBox is BLANK until I go in and re-select the item? I need to some comparison logic to check if the default matches another cell, but it won't work until I go in and re-select the item again in the ComboBox??? Any ideas please!?
@TheRFreyre
@TheRFreyre 2 жыл бұрын
I am bookmarking this one. Thanks! One thing I wish you could cover in the future is how to populate a Person combobox with filtered people from another List. Like how do you show available Counselors in that combobox so that the user must select one of those. The problem is that a FILTER() in items will make that combobox loose its Person schema and you no longer can display Email, Picture, etc. out the combobox selection. Plus saving the selection and coming back to the form how do you do the DefaulSelectedItems to show what was previously selected and to display the Picture in a separate image control?
@DavidShaw-dc4re
@DavidShaw-dc4re Жыл бұрын
You could do a lookup, for 1 row, or a filter, for multiple selections, on the original data source using the selected items from the last combo box
@codeklaudia9696
@codeklaudia9696 2 жыл бұрын
Thank you for the video!! Is it also possible to store multiple items selected from a combobox into a global variable (array) to pass it to the next screen?
@ShanesCows
@ShanesCows 2 жыл бұрын
ClearCollect(yourCollection, Combobox1.SelectedItems)
@reivaxmik9058
@reivaxmik9058 2 жыл бұрын
Hi Shane, thanks for this. All your examples here works when the app is online, I was even using a collection and works just fine. But not if the app is offline. Any ideas or tips about this? Thanks
@maggieho9521
@maggieho9521 2 жыл бұрын
Thanks for the good info! What about add "ALL" be the first item in the combobox list?
@s961201
@s961201 3 жыл бұрын
Great video - thanks🤩 will it work the same way if your source is peoplepicker connection? Let’s say I have gallery of projects. Within the form accessed from the gallery, I select the project team from O365 connection. Going back and forth between projects, will I be able to set the default selected team?
@ShanesCows
@ShanesCows 3 жыл бұрын
Yes, as long as the table matches it will be happy. 😊
@brauliojiomeke
@brauliojiomeke Жыл бұрын
Saved my life :)
@ShanesCows
@ShanesCows Жыл бұрын
Happy to help 😎😎
@sreekuttan2004
@sreekuttan2004 3 жыл бұрын
Thanks...This really helps...👍👍 But one scenario that I still struggle with is when using combo box in a edit mode form..I want the already submitted value to stay as default selected items but at the same time, but at the same time, I don't want the user to again select the same items while editing the form... Because default selected items return blank values in the update property of the data field...This really misguided the users...Is there more intuitive way to achieve this?
@ShanesCows
@ShanesCows 3 жыл бұрын
I don't have any good ideas. ☹
@paolovr1970
@paolovr1970 Жыл бұрын
Thanks Shane
@ShanesCows
@ShanesCows Жыл бұрын
Happy to help. Have a great day. 🐶
@anamicula1519
@anamicula1519 2 жыл бұрын
YEEEESSSS!!!!!! Thank you thank you!!!!!!!
@ShanesCows
@ShanesCows 2 жыл бұрын
You're welcome!!
@zarzadogrodu5264
@zarzadogrodu5264 2 жыл бұрын
Hello Shane, thanks to your tutorials I have recently build my first app. Your presentation is clear and understandable and energy is great! Thank you. I have however ran into a problem and I cannot find a solution anywhere. I want to use combobox to filter the records in vertical galery. The items of the combobox are added with Distinct function. The filter works, but the options are invisible . The user can choose them but is unable to see which option he is choosing. Have you ever ran into such problem? is there a remedy for this?
@ShanesCows
@ShanesCows 2 жыл бұрын
Check the Field you are displaying in the Combobox. It is over on the right under the data source.
@zarzadogrodu5264
@zarzadogrodu5264 2 жыл бұрын
@@ShanesCows Hello, yes, the issue was in the Field propoerty. Apparently when Distinct is used to fill the combobox the Result field must be added to the fields. Thanks!
@bashir703
@bashir703 2 жыл бұрын
Truely, Thank you
@deancooke343
@deancooke343 3 жыл бұрын
You are a life save, spend hours on this before watching the video.....done now ;-)
@ShanesCows
@ShanesCows 3 жыл бұрын
Awesome 😎
@DreW-bm7fc
@DreW-bm7fc Жыл бұрын
Thanks!
@ShanesCows
@ShanesCows Жыл бұрын
Appreciate the support. 😎
@mabenantokozo5433
@mabenantokozo5433 2 жыл бұрын
Hey man thanks for the video. Can you make the video about setting default selected item for a combobox that is an Office 365 User Search then patching it to sharepoint?
@sandiphore21
@sandiphore21 3 жыл бұрын
Hi shane, thanks for this awesome guide. I am stuck with an idea. I wanted to implement a searchable text input (where i will get suggestion based on input text and existing data.) any idea how to get it?
@ShanesCows
@ShanesCows 3 жыл бұрын
Power Apps doesn't do search like that 😐 As far as I know.
@sandiphore21
@sandiphore21 3 жыл бұрын
@@ShanesCows thanks for replying. I tried using a combination of searchtext and selecteditems in combobox. Somehow it works for searchtext however unable to update a value from selected items.
@LukasSoftwareDeveloper
@LukasSoftwareDeveloper 3 жыл бұрын
Just a tip. If you want to use combobox selecteditems as string use concat....for one item, concat(combobox.selecteditems, result & "") for few items concat(combobox.selecteditems, result & ",") well you will get an idea.
@ShanesCows
@ShanesCows 3 жыл бұрын
Yup. Very common pattern. I thnk I showed that in the combobox video. This one I was trying not to get too far off topic on defaults.
PowerApps Combobox - Search, Filter, Default values, and more
25:51
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 3,9 МЛН
PowerApps filter gallery by dropdown
28:06
Shane Young
Рет қаралды 265 М.
Beginners Guide Combobox & PowerApps with Basic Form
13:06
Andrew Hess - MySPQuestions
Рет қаралды 16 М.
How to set default value to a Combo box in a PowerApps form
13:35
Alireza Aliabadi
Рет қаралды 21 М.
Validate Inputs, Warn Users, and Disable Buttons in Power Apps
19:58
Power Apps Reset a Gallery and varRecord instead of Selected
8:08
Let's talk about the Combobox Again with Power Apps (and Modern!)
15:44
Andrew Hess - MySPQuestions
Рет қаралды 6 М.
Power Apps Patch function with SharePoint Columns
31:51
Reza Dorrani
Рет қаралды 117 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 278 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,4 МЛН