cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

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
Highlighted
Microsoft
Microsoft

Re: Combo box defaultselected value

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
Highlighted
Microsoft
Microsoft

Re: Combo box defaultselected value

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

Highlighted
Helper V
Helper V

Re: Combo box defaultselected value

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,171)