Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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:
  • Ethan_009 Profile Picture
    4,838 Super User 2025 Season 1 on at
    Re: Collect Combo box selections in columns not rows

    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

  • kgiles123 Profile Picture
    224 on at
    Re: Collect Combo box selections in columns not rows

    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 Super User 2025 Season 1 on at
    Re: Collect Combo box selections in columns not rows

    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

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,537 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard