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 / 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,151 Super User 2026 Season 1 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,151 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard