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 Apps
Unanswered

Combobox error?

(0) ShareShare
ReportReport
Posted on by 213

I suspect my combobox giving error while click on button cancel. 

So far it works fine during submit, update data to sharepoint except cancel.

 

 

 

11.JPG

 

Shrepoint :

ReguStatus

Multiple lines of text

 

Button Cancel: 

If(IsBlank(DataCardValue94_1.Text),
Notify("Pls enter remarks for cancellation in Audit trail section",NotificationType.Error),
Set(Action,"Cancelreq");    - powerautomate  update status as cancelled
SubmitForm(Form2_1))

 

ReguStatus

Item:

SortByColumns(    Filter(        PR_Configuration,        Lower(LookupKey2) = Lower("ProdRegulatory" & txtcmpny.Text)    ),

   "SortItem",    Ascending)

Default :

Update: Concat(ComboBox2.SelectedItems, ItemDetails, ",")

DefaultSelectedItems:

RenameColumns(Filter(Split(Parent.Default, ";"), !IsBlank(Result)), "Result", "Value")

 

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @NurNida ,

     

    Please try below steps:

    1. Update: 

    Concat(ComboBox2.SelectedItems, ItemDetails, ", ")

    2. DefaultSelectedItems:

    RenameColumns(Filter(Split(ThisIem.ReguStatus, ", "), !IsBlank(Result)), "Result", "ItemDetails")

     

    Best regards,

  • NurNida Profile Picture
    213 on at

    I try to use the default as per suggestion, my combobox return blank . Actually, I use this in my Edit form. 

     

    RenameColumns(Filter(Split(ThisIem.ReguStatus, ", "), !IsBlank(Result)), "Result", "ItemDetails")

     

    This combobox load in Form Mode :  view

    I make this combobox edit and reseelect value , button cancel work as it is..

     

    I realized it is because this combobox load (pic below)  as one value and need to be split. 

    Not sure how to do this. 

     

    11.JPG

  • NurNida Profile Picture
    213 on at

    11.JPG

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard