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 / Form Card ComboBox - c...
Power Apps
Answered

Form Card ComboBox - combine two fields in displayfields?

(0) ShareShare
ReportReport
Posted on by 523

I have a form which pulls data from a CDS entity. Within that form, one Card pulls data from a lookup field, and as such was created (by default) as a ComboBox.  Unfortunately this field draws from an entity which has names split into first and last.

I would like to populate the ComboBox with both first and last within its dropdown? Is there a way to do this?

At present the DisplayFields contains: ["cr6a2_firstname"]

And the SearchFields contains: ["cr6a2_firstname"]

I have tried ["cr6a2_firstname" & " " & "cr6a2_lastname"], but the syntax is wrong & I'm not sure how to correct it.

Categories:
  • eka24 Profile Picture
    20,925 on at

    Use:
    ["cr6a2_firstname", "cr6a2_lastname"]

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Medoomi Profile Picture
    523 on at

    @eka24 

    Thanks so much for your reply.

    I put ["cr6a2_firstname", "cr6a2_lastname"] in both DisplayFields as well as SearchFields & I can now search by both last as well as first name, but the display name only displays the first name.

    Is there another location I need to edit to have the ComboBox display both names?

    Thx!

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    It depends whether you have a single field or Double field in the combobox (See Screen shot). There are two ways to change it:

    If you have a Double field:
     Select the Combobox and on the DisplayField property: ["cr6a2_firstname", "cr6a2_lastname"]

     

    If you have a single field you need to add a secondary field, thus change it to Double (Click on the combobox and on the right pane property, select Field Edit:

    DoublecCombo.JPG

     

    Sample single

    SingleCombo.JPG

    Learn more on combobox:
    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-combo-box

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard