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 / Combining Multiple Sha...
Power Apps
Unanswered

Combining Multiple Sharepoint List columns into ComboBox & searching

(0) ShareShare
ReportReport
Posted on by 133

Hi All, 

 

I have searched for the answer to this but have been unsuccessful so I am hoping someone can help please 🙂

 

I would like to have a combobox displaying the order # column and freight order # column from my sharepoint list displayed in a double field layout, and having both #'s searchable within the combobox. I can search and view just one column by having the following: 

 

Distinct(
'Sales Order Tracker',
'Blackout Order #'
)

 

lg270492_0-1664978957361.png

 

Is there a way to combine both into the same combobox whilst maintaining the search function? 

 

Appreciate any help you can give on this one! 

 

Thanks in advance

  

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    There may be a smarter way to do this but one solution could be to consolidate both #'s into a collection or a new SharePoint list.
    I think you will have to get them into the same column in order to search both at the same time.
    Note that if you have a large amount of records a Collection may not be viable.

  • lg270492 Profile Picture
    133 on at

    Yeah I was thinking I may have to do that to be fair. Only problem I have is that based on a set VAR I pre populate other fields in the form based on the Order #.

     

    If I just duplicated my combobox and referenced the freight order # is there a way to populate the other fields based on that IF the order # combobox isnt used? 

     

    Thanks in advance

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    If I understand you correctly you could maybe do something like this

    If(IsBlank(Order#.Text), Value1, Value2)

     
    To populate a field based on selection in the box

  • lg270492 Profile Picture
    133 on at

    Sorry let me try explain a little better.. 

     

    So on my combobox I have set the following: 

     

    OnChange = Set(BlackoutVar,LookUp('Sales Order Tracker','Blackout Order #'= OrderNo_Combo.Selected.Result))

    Items = Distinct('Sales Order Tracker','Blackout Order #')

     

    On my pre-populate fields I have the following (using material description column as an example): 

     

     Default = BlackoutVar.'Material Description'

     

    If I input another combobox with the following: 

    OnChange = Set(BlackoutVar2,LookUp('Sales Order Tracker','Freight Order #'= OrderNo_Combo.Selected.Result))

    Items = Distinct('Sales Order Tracker','Freight Order #')

     

    Then its also searchable using the freight order column in my sp list. But is there a way to say IF I select an item from the Sales Order # list using the new combobox then pre populate based on that value rather than the Blackout Order # number in the original combobox? 

     

    Hope this brings some clarity to my question. 

     

    Thanks again for your help so far! 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard