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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / combobox show 2 columns
Power Apps
Unanswered

combobox show 2 columns

(0) ShareShare
ReportReport
Posted on by 820

Hi

In my model driven app i have custom page(canvas app) and a combobox.

I want to show 2 columns(combobox earlier had a possibility to choose a layout) but this possibility is now gone.

Is there a workaround?

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @jja ,

     

    Is this still valid or are you saying this approach doesn't work anymore?  https://powerusers.microsoft.com/t5/Building-Power-Apps/Help-with-Combobox-List-to-show-multiple-columns-from-source/td-p/839218 

  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hello @jja ,

    Hope you are doing well.

    There are 3 layouts available for combo box in canvas. PFB screenshot:

    ANB_0-1657952652238.png

    As you are using custom page for your model driven app. And yes, Combo Box is supported control in custom page which is called Modern control. Please check this article from Microsoft.

     

    And I can see that there is no layout option for Combo Box in custom page for model driven app. So, as a workaround, I would suggest you to create a canvas component using the component library. This component can have only Combo Box from canvas app.(So that you can choose double layout). Then import this component to custom page of your model driven app. Please check this Microsoft article.

     

    I Hope this helps. 

     

    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.

     

    Thanks,

    ANB

     

  • julijazas Profile Picture
    820 on at

    @dpoggemann 

    this is nice approach but how do i patch then data back? Lets say i have employee code and name. I concatenate code and name and show in combobox but in dataverse i want to patch back employee code which in my case is a lookup column inside the table i want to patch

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @jja,

     

    Could you utilize a collection to store the two values separately and then the combined value and then when the combined value is chosen, set two fields on the form (hidden) set to the other two in that row of the collection?  You could then patch these values back.

  • Cloudyjudgement Profile Picture
    2 on at
    I know this is an old post but it's the first result when you google this issue, so I'll post my solution for others who end up here...

    On the items property of the modern combobox add a concatenated new column to the data source like this-

    Items = AddColumns(myDataSource, newColumn, firstColumnName & " " & secondColumnName)

    Then just click the Fields property in the properties pane to add the new column to the combobox. With this approach you'll still have access to the other fields in the original data source and be able to patch back if needed.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard