Hi,
I have a combo box that is connected to the Contacts entity in Common Data Service. The CDS Entity has columns for First Name, Last Name and Full Name, which displays as First Last. My customer would like the combo box to display names as Last, First. But I can't seem to find a way to concatenate two columns as the primary field for the combo box. Do I have to go back to the entity and add a column?
Also, and this one is probably easier, how do I sort the combo box so it displays all the names in alphabetical order by last name?
Thanks
Solved! Go to Solution.
Hi @SeanHenderson ,
What is the region that you select when you first create the CDS database?
I think this cannot be achieved so far. You might need to create a new field with Last First order.
Regards,
Mona
Hi @SeanHenderson ,
What is the region that you select when you first create the CDS database?
I think this cannot be achieved so far. You might need to create a new field with Last First order.
Regards,
Mona
Hi Sean,
Yes, you can. Below is the code for concatenating two fields in an entity.
SortByColumns( AddColumns(EntityXYZ, "FullName", Concatenate(FirstName, " ", LastName)), "FullName")
Cheers
Bala
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
187 | |
81 | |
50 | |
37 |
User | Count |
---|---|
290 | |
244 | |
122 | |
74 | |
55 |