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

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

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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,884)