Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

 

  • Verified answer
    anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on at
    Re: Concatenate dropdown Value

    @Danny_Dicaprio  try with ' ' single quotes

  • Verified answer
    DBO_DV Profile Picture
    4,530 Super User 2025 Season 1 on at
    Re: Concatenate dropdown Value

     

    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

  • Danny_Dicaprio Profile Picture
    on at
    Re: Concatenate dropdown Value

    HI @DBO_DV 

     

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

  • Danny_Dicaprio Profile Picture
    on at
    Re: Concatenate dropdown Value

    Hi @anandm08 

     

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

     

    Danny_Dicaprio_0-1720437959271.png

     

  • DBO_DV Profile Picture
    4,530 Super User 2025 Season 1 on at
    Re: Concatenate dropdown Value

    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. 

     

  • anandm08 Profile Picture
    1,936 Super User 2025 Season 1 on at
    Re: Concatenate dropdown Value

    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

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,552 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard