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

Concat Comb Boxes in Patch

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2

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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard