Announcements
Hi I put a modern control combo box in my gallery and wanted to set the default to ThisItem.'Staff Name'. In the classic combo box, it works if I put in the DefaultSelectedItems as {Value: ThisItem.'Staff Name'} but it does not work with the modern one.
Appreciate if anyone can help me, thanks!
Hi @Mouree
The DefaultSelectedItem property expects a single record that matches one of the items in the Items property of the combo box. Try this:
LookUp(SharePointList, 'Staff Name'.Value = ThisItem.'Staff Name')
If you have any questions or feedback, please let me know. Have a great day! 😊-----------------------PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻
Hi @SpongYe ,
I've tried it and it gives an error that it is incompatible types for comparison:
When I remove the word "value" it removes the error but it still does not show anything like this:
Oh okay now it works @SpongYe ,
I mistakenly put wrong data source, which I should put StaffList instead of StaffAllocationList.
Not it has been solved. Thanks!
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 505
WarrenBelz 502 Most Valuable Professional
Haque 324