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 / Collect Combo box sele...
Power Apps
Unanswered

Collect Combo box selections in columns not rows

(0) ShareShare
ReportReport
Posted on by 224

I have a combo box that I've limited to a max selection of three items. Instead of stacking the items in rows in a table I would like the result to populate three columns on a single row with just the Title items that were selected in the combo box. 

 

Here is my current formula:

 

If(CountRows(Self.SelectedItems)>3,Reset(Self);Notify("Only Three Items Allowed"));
ClearCollect(colTreatment, TreatmentCombo.SelectedItems)

 

Here is how my collection currently appears:

kgiles123_0-1705957656014.png

 

 

 

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @kgiles123 ,

     

    If you create another collection, do you get the Title column only?

    Append this code after your colTreatment code

    ClearCollect(colTitle, ShowColumns(colTreatment, "Title"));

     

    Hope this helps

  • kgiles123 Profile Picture
    224 on at

    thank you for your help! Title is now it's own column. I was hoping that I could have three columns and a single row containing all the selections. Is that possible?

    kgiles123_1-1706020877357.png

     

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @kgiles123 ,

     

    Yes, it is possible

    For example, use a Label control and insert following formula in the Text/Default 

    Concat(ColTitle, Title, ", ")

     

    You will get merged data separated with ", "

     

    Hope this helps

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
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard