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 / Radio button default v...
Power Apps
Unanswered

Radio button default value patch to SharePoint is not collect for items in gallery

(1) ShareShare
ReportReport
Posted on by 40

I have build my app to approve requests.

saranp780_0-1647591691501.png

 

Default is in the approve option but users can be selected reject option if they want. But the problem is that the default value is shown less than the items in gallery. This table has 12 items and I have put the "countif" to recheck that it can count only 10 items.

saranp780_1-1647573894370.png

 

When I patched to SharePoint that two items have no status from default vale from radio button like following picture in red rectangle. 

saranp780_2-1647574559357.png

I don't know is it bug or error from my code. Why can't I sent the default value to SharePoint for all items?

This is Default value code.

 

"Approve"

 

 

This is patch code from onselect.

 

ForAll(
 RenameColumns(
 Filter(
 Confirmation_Gal.AllItems,
 IsChoosen
 ),
 "ID",
 "EID"
 ),
 Patch(
 User_Request_Form,
 LookUp(
 User_Request_Form,
 ID = EID
 ),
 {
 Name: Name_con.Text,
 // Email: Email_con.Text,
 Department: Departmen_con.Text,
 Role: Role_con.Text,
 Status: {
 '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 Id: 1,
 Value: If(Radio1.Selected.Value = "Approve", "Approved") & If(Radio1.Selected.Value = "Reject", "Rejected")
 },
 'Requested ID': RequestID_con.Text,
 Username_unique: Name & " " & Email & " " & Type_Con.Text & " " & "Create" & " " & If(
 Radio1.Selected.Value = "Approve",
 "Requested",
 Radio1.Selected.Value
 )
 }
 )
)

 

 

Please help me to solve this problem.

Thank you.

 

Categories:

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard