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 / Concat Comb Boxes in P...
Power Apps
Unanswered

Concat Comb Boxes in Patch

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I finally got a method that works. Below is the Patch I am using to add data to my SharePoint list.

Also shown is the Gallery and Combo Boxes which are the source of the Patch content.

The user can toggle one of three options, which reveal three of nine Combo Boxes at a time, depending on which item is chosen in the toggle.

The user can only enter data into one of the set of three. One data is entered the toggle is 'disabled'.

It is unknown which option the user will choose. I need the ability to be able to get the data from all nine Combo Boxes.

The formula I have gets me the first three Combo Boxes.

How do I edit the formula so that each line looks at the contents of three of the Combo Boxes (I have the order) and Patches the contents of the one or three with data without overwriting it null value from the other two?

Phineas_0-1651260501358.png

 

Patch(
'Test List',
Defaults('Test List'),
{Title: ReviewCompanyNameFLd_2.Text},
{CollectorName: User().FullName},
{DateOfEvent: ReviewDateOfEventDatePicker.SelectedDate},
{CompanyName: ReviewCompanyNameFLd_3.Text},
{PotentialClassification: ReviewPotentialClassificationCB_1.Selected.Value},
{PSMCategoryType: PSMReviewCategoryTypeFld.Text},
{PSMImmediateNeed: PSMReviewImmediateNeedCheckbox.Value},

 

These are the items in question. I need to be able run each line out 'Concat' to account for the content of three Combo Boxes returning and Patch the content of the Combo Box that actually has data and ignoring the two blank Combo Boxes.
{PSMCCCategoryCommodity: Concat(PSMCatComCatComCB.SelectedItems, Result & "; ")},
{PSMCCProcurementProfessional: Concat(PSMCatComProProfCB.SelectedItems, Result & "; ")},
{PSMCCPurchasingGroup: Concat(PSMCatComPurchGrpCB.SelectedItems, Result & "; ")},

 

Form2.Updates
);

 

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard