cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nagestiada
Post Patron
Post Patron

Combo box defaultselected value

Is it possible in powerapps wherein Combobox will have a default value based on the lookup value and if not found in sharepoint list it will show the items?

 

 

 

If(LookUp(ItemList,UserName= Label2_8.Text && WeekEnding = Label2_7.Text && Item = "Admin",true),Role,false)

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
rimatos
Community Support
Community Support

Hi @nagestiada ,

 

That formula will not work because the If function expects a boolean result to evaluate the expression. When you are using the Lookup function, it will never return a boolean value, but a Record instead.

 

Regards,

Ricardo

View solution in original post

2 REPLIES 2
rimatos
Community Support
Community Support

Hi @nagestiada ,

 

That formula will not work because the If function expects a boolean result to evaluate the expression. When you are using the Lookup function, it will never return a boolean value, but a Record instead.

 

Regards,

Ricardo

View solution in original post

Yup, I solved it already after realizing what you said. Thanks!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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