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 / Update/patch combobox
Power Apps
Answered

Update/patch combobox

(0) ShareShare
ReportReport
Posted on by 44

Hey

 

I'm using a list (["1";"2"]) as items for a combox which is placed in a form. I then set the Update value of the form item to Concat(Combobox_value.SelectedItems;Value;",") which creates a string separating the items with a ",". This works fine.

 

I changed the items of the combobox to Distinct(data;column) which works, I can choose them. However the update formula creates an error. It can not create the string. What am I doing wrong? Feels strange since the data output of the combox has not changed, only the input (which works)?

Categories:
I have the same question (0)
  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    When you define a table using the '[<v1>; <v2>; <v3>]' syntax, it's equivalent to the following definition:

    Table({ Value: <v1> }; { Value: <v2> }; { Value: <v3> })

    In other words - a table with a single column called 'Value'. If you assign it to the Items property of a selectable control such as the combo box, then when you access the 'Selected' (or 'SelectedItems') property, you need to use the '.Value' to access the actual value that was selected.

     

    The Distinct function, however, returns a table with a single column called 'Result', not 'Value', so if you use it in the combo box's Items property, to access the selected value you need to use that property instead. If you update your expression to the one below, you should get the result that you want.

    Concat(
     Combobox_value.SelectedItems;
     Result;
     ",")

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!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard