web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Populate Combo Box bas...
Power Apps
Unanswered

Populate Combo Box based on column values

(0) ShareShare
ReportReport
Posted on by 118

HelIo

 

I am trying to filter, populate a combo box box based on 7 columns.  This is an example of the code I am using

 

Filter
(
IF('Underwriter Training Tracker'.'MLP-Training' = "1" && 'Underwriting Training Tracker'.UWName.Value = SelectedUWName, "MLP"),
IF('Underwriter Training Tracker'.'Emerging PI-Training' = "1" && 'Underwriting Training Tracker'.UWName.Value = SelectedUWName, "Emerging PI"),
IF('Underwriter Training Tracker'.'Trad PI-Training' = "1" && 'Underwriting Training Tracker'.UWName.Value = SelectedUWName, "Trad PI")
)

 

 

Normally I would use something like 

 

Distinct('UWT - Training Courses','Line of Business')

 

But on this occasion I want to filter the selection based on some responses users have done with fields in another table.  I am not sure what syntax to use, in this case I would imagine to use an array?

 

Thanks

 

Stuart

Categories:
  • Stuart74 Profile Picture
    118 on at

    Hello

     

    I have been trying to solve this using a Collection.  I am thinking that I can use a collection built up of the answers to if statements on various columns in my SharePoint list.  What I have so far;

     

    Stuart74_0-1683885484385.png

     

    But, I need help with syntax.

     

    Can someone point me in the right direction?

     

    Thank you

     

    Stuart

  • Stuart74 Profile Picture
    118 on at

    Hello

     

    I have also tried

     

    ClearCollect(LoBValues,
    {
    If(LookUp('Underwriter Training Tracker',UWName.DisplayName = SelectedUWName,'MPL-Training')="1","MLP",""),
    If(LookUp('Underwriter Training Tracker',UWName.DisplayName = SelectedUWName,'Prop-Training')="1","Prop",""),
    }
    )

     

    but no luck 😞

  • Stuart74 Profile Picture
    118 on at

    Hello

    Any thoughts?

    Thanks

    Stuart

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard