cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EliasGrabh
New Member

Fill combobox with variable excel list

Hey there,
Is there any chance to fill a Combobox with data from excel lists, but the list choosen is depending on a variable?
Thanks alot!

Elias

1 ACCEPTED SOLUTION

Accepted Solutions
dyee4614
Helper V
Helper V

Yes.  There are two ways I have done it in the past. 

 

#1 -In the items section of the combobox with an IF and create the logic you want to select your excel list.  It will look something like

 If(ListDecidingVariable="A",ExcelListA,ExcelListB)

#2 - Create two versions of the same combo box and in the visible section of the combo box write an IF with the logic you want so one is visible all the time and one is not.

 

View solution in original post

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @EliasGrabh ,

If you do a collection conditional on this, as long as the field names (you can use RenameColumns) and data types as the same, you can base the Combo Items on the collection.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Hi @EliasGrabh ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

dyee4614
Helper V
Helper V

Yes.  There are two ways I have done it in the past. 

 

#1 -In the items section of the combobox with an IF and create the logic you want to select your excel list.  It will look something like

 If(ListDecidingVariable="A",ExcelListA,ExcelListB)

#2 - Create two versions of the same combo box and in the visible section of the combo box write an IF with the logic you want so one is visible all the time and one is not.

 

View solution in original post

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!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,176)