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 / Visualize two items in...
Power Apps
Answered

Visualize two items in a datacardvalue canvas apps

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

I've got a small application build. I want to visualize in one datacard value the first name and the last name.

They are both in different columns in the dataverse table. 

Currently I'm only able to show the first name.

 

 

Codes I'm using:

 

DisplayFields:

 

 

["cr3e4_contactpersoon" ,"cr3e4_achternaam"]

 

 

 

SearchFields

 

 

["cr3e4_contactpersoon","cr3e4_achternaam"]

 

 

 

Items  

 

 

Choices([@Activiteiten].'Contactpersoon bedrijf')

 

 

 

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @MR_laut ,

     

    It seems that you are using a LookUp column 'Contactpersoon bedrijf' to populate the Combo box items. If you want to show different columns in this Combo box, you need to change Items property to the table directly, and in addition add a new column where contains both first and last name:

    Items:

    AddColumns(Contactpersoonhedrijf, "Naam", ThisRecord.'cr3e4_contactpersoon'& "" & ThisRecord.'cr3e4_achternaam')

     

    Update of this DataCard:

    DropColumns(DataCardValue.Selected,"Naam")

     

    DisplayFields:

    ["Naam"]

     

    SearchFields:

    ["cr3e4_contactpersoon","cr3e4_achternaam","Naam"]

     

    Best regards,

  • Verified answer
    timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @MR_laut 

    You could consider creating a formula column in Dataverse to return the full name.

    https://learn.microsoft.com/en-us/power-apps/maker/data-platform/formula-columns

     

    Combining the first and last name is likely a common thing that you might want to do throughout your app. If you create a formula column, you can do this once and not have to write formula throughout your app to combine the first and last names.

  • MR_laut Profile Picture
    4 on at

    This helps a lot! Thanks!

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard