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 / Concatenate dropdown V...
Power Apps
Answered

Concatenate dropdown Value

(1) ShareShare
ReportReport
Posted on by

Hi Everyone,

 

I have two columns in my Dataverse table, ControlID and Control Description

 

In the dropdown I want to show both of these values with a separation of '-'

 

I tried the following in the items Property Its not working 

 

Filter(Controls, ControlID & " - " & ControlDescription)

Could anyone please help with these

 

Categories:
I have the same question (0)
  • anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    hi @Danny_Dicaprio ,

    You can create a collection in the OnVisible property of the screen or in the OnStart property of the app. For example, in the OnVisible property of the screen:

     

    ClearCollect(
     CombinedControls,
     AddColumns(
     Controls,
     "DisplayValue",
     ControlID & " - " & ControlDescription
     )
    )

     

    This formula creates a new collection called CombinedControls, which adds a new column called DisplayValue to the Controls table, combining ControlID and Control Description with a hyphen.

    Set the Items property of the dropdown to the new collection:

     

    CombinedControls

     

     

  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at

    To achieve this you would need to create a collection to create this column. However you can also create it with a Calculated Column in Dataverse and just use this column instead. 

    This way you could use every column of the tabele with DropDown.Selected.ColumnName

     

    the other way you would need to find a way to LookUp to Dataverse for everithyng. 

     

    Let me know which way you want to use. 

     

  • Danny_Dicaprio Profile Picture
    on at

    Hi @anandm08 

     

    Thanks for the response , It is showing an error where  expected identifier name 

     

    Danny_Dicaprio_0-1720437959271.png

     

  • Danny_Dicaprio Profile Picture
    on at

    HI @DBO_DV 

     

    I would like to use a collection , But is showing an error in my code 

  • Verified answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at

     

    ClearCollect(
     Dropdownlist,
     AddColumns(
     Controls,
     Value,
     ControlID & " - " & ControlDescription
     )
    )

     

    Let me know if it helped you. 

     

    Here's the Documentation: AddColumns, DropColumns, RenameColumns, and ShowColumns functions - Power Platform | Microsoft Learn

  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2024 Season 2 on at

    @Danny_Dicaprio  try with ' ' single quotes

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard