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 / How to get the selecte...
Power Apps
Answered

How to get the selected value of a radio button

(0) ShareShare
ReportReport
Posted on by 119
I did not find in any official documentation how to obtain the selected value from a radio button, so I request help to solve this need that I am presenting.

I have a Sharepoint list as a data source with a column of type Yes or No that is the one from which I want to get that saved value, to visualize the radio button I have created a form with Powerapps.
sebastianslz_2-1664486512571.png
In the Items property I have specified the two values that I want to display as follows:
sebastianslz_0-1664485980903.png
I tried adding the following to the Default property, but I was unsuccessful.
sebastianslz_1-1664486014885.png
What I am trying to do is get the value saved previously in my radio button, is there a way to do it ? I hope someone can give me guidance on how to get it.

I really appreciate your help.
Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sebastianslz 

    Change your Default to:

    If(ThisItem.yourColumnNameHere, "Si", "No")

    Replace with the name of your column and it will give you what you want.

     

    Before your next question "How do I get this to update to the datasource".

    Change your Update property to:

    yourRadioControl.Selected.Value = "Si"

    That will account for both the true and false values needed to write back to your Yes/No column.

     

    I hope this is helpful for you.

     

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard