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 / 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:
I have the same question (0)
  • eka24 Profile Picture
    20,923 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,923 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

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard