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 / 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard