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 / How can I get the sele...
Power Apps
Unanswered

How can I get the selectedIndex from a radiobutton in power apps?

(0) ShareShare
ReportReport
Posted on by 17

Hello,

 

Can someone let me know how to get the selectedIndex from a radiobutton in power apps?In my app I want to send the selected index of the redio button instead of the actual selected radio button text.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @msmdspower 

    What is SelectedIndex??  There is no such thing as that for the controls.

     

    If you want to implement some sort of index, then consider the following scenario:

    Assuming an Items property of ["Yes", "No", "Maybe"]

    You would change that to:

    Table({Value: "Yes", Index: 1},
     {Value: "No", Index: 2},
     {Value: "Maybe", Index: 3}
    )


    Then, you can reference yourRadioControl.Selected.Index to get the "index" value.

     

    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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard