Do you know how to use the If statement in a Power Apps Radio button? In case you’re not, no need to worry!
This Power Apps tutorial will give complete information about the If Statement in Power Apps Radio Button, like:
- Display the Power Apps Radio button selected value using the If statement
- Power Apps Radio button Choices using If statement [From SharePoint List]
- Working with Power Apps Edit form using Radio button If statement
If Statement in Power Apps Radio Button
Here, we will discuss using an If statement in the Power Apps Radio button control with different scenarios.
Scenario 1:
In this scenario, I will show you how to display the Power Apps Radio button selected value using the If statement/condition.
1. I have created a Power Apps Radio button control with some choice values like “Laptop”, “Television”, “Tablet”, etc.
2. When a user selects any product value from the Radio button, the Text label will display the selected product price, as in the screenshot below.

To achieve it, follow the below-mentioned steps. Such as:
3. Open Power Apps -> Create Power Apps Canvas app -> Insert a Radio button control -> Set its Items property as:
Items = ["Laptop", "Television", "Tablet", "Air conditioning"]
Where,
- “Laptop”, “Television”, “Tablet”, and “Air conditioning” = Power Apps Radio Button Items

4. Then, insert a Text label and set its Text property to the code below:
Text = If(
Radio_Product.Selected.Value = "Laptop",
"$1000",
Radio_Product.Selected.Value = "Television",
"$1500",
Radio_Product.Selected.Value = "Tablet",
"$800",
Radio_Product.Selected.Value = "Air conditioning",
"$1700"
)
Where,
- If() = This Power Apps If() function is used to test one or more conditions until a true result is found
- Radio_Product = Power Apps Radio Button Name
- “Laptop”, “Television”, “Tablet”, “Air conditioning” = Radio Button Choice Values
- “$1000”, “$1500”, “$800”, “$1700” = These are values which display on the Text label
Refer to the below image:

5. Save, Publish, and Preview the app. When the user selects any product from the Power Apps Radio button, the Text label will display the selected product price below.

This is how to display the Power Apps Radio button selected value using the If statement/condition.
Power Apps Radio Button Choices Using If statement [From SharePoint List]
Next, we will see how to manage the SharePoint choice field in the Power Apps Radio button using the If statement.
Scenario 2:
1. I have a SharePoint Online list, i.e., [Training Courses]. This list contains the choice field named “Technology,” and this choice field has the below options.
“Power Apps, Power Automate, Power BI, SharePoint”

2. In Power Apps, I have added a Radio button control and retrieved the choice values from the SharePoint list.
3. When a user selects any value from the Power Apps Radio button, it will navigate to another screen [CoursesDetailsScreen] as in the screenshot below.

To work around this, follow the below steps. Such as:
4. On the Power Apps Screen -> Insert a Radio button control -> Set its Items property as:
Items = Choices([@'Training Courses'].Technology)
Where,
- ‘Training Courses’ = SharePoint Online List
- Technology = SharePoint Choice Field

5. Then, set the Radio button OnSelect property to the code below:
OnSelect = If(
!IsBlank(Radio_TrainingCourses.Selected.Value),
Navigate(CoursesDetailsScreen)
)
Where,
- Radio_TrainingCourses = Power Apps Radio Button Name
- CoursesDetailsScreen = Power Apps 2nd Screen Name

6. Save, Publish, and Preview the app. When a user selects any value from the Power Apps Radio button, it will navigate to the second screen [CoursesDetailsScreen] as in the Screenshot below.

This is how to manage a SharePoint choice field in the Power Apps Radio button using the If statement.
Power Apps Radio Button Using If Condition On Edit Form
Last, we will work with a Power Apps Radio button using an If condition on the Edit form.
Scenario 3:
1. I have a Power Apps Edit form control that is connected to the SharePoint Online list [OTT Platforms].
2. Whenever the user selects any subscription plan, i.e., [Standard and Premium] from the Power Apps Radio button, the Text input control will display the Price based on the selected subscription plan.
Refer to the Below Screenshot:

To do so, follow the below steps.
3. On the Power Apps Screen -> Insert the Edit form control [frm_OTTPlatforms] -> Add SharePoint list fields using the Edit fields option as per the need.

4. Then, change the Edit form Default mode property to “New” as shown below.

5. Select Text input control and set its Default property to the code below:
Default = If(
DataCardValue1.Text = "Netflix" && Radio_Plans.Selected.Value = "Premium",
"$500",
DataCardValue1.Text = "Amazon Prime Video" && Radio_Plans.Selected.Value = "Standard",
"$300",
DataCardValue1.Text = "Disney+" && Radio_Plans.Selected.Value = "Premium",
"$700"
)
Where,
- DataCardValue1 = Name the Power Apps Text Input
- “Netflix”, “Amazon Prime Video”, “Disney+” = SharePoint Text Field Values
- Radio_Plans = Power Apps Radio Button Name
- “$500”, “$300”, “$700” = SharePoint Currency Field Values

6. Save, Publish, and Preview the app. When a user selects any value from the Power Apps Radio button, the text input will display the selected subscription plan price as shown below.

This is all about the Power Apps Radio button using the If condition on the Edit form.
Conclusion
This Power Apps tutorial explained in detail information about the Power Apps Radio button control If statement.
Here, we discussed displaying the Power Apps Radio button selected value using the If statement and Power Apps Radio button choices using the If statement from a SharePoint list.
Last, we covered the Power Apps Radio button using the If condition on the Edit form.
Also, you may like some more Power Apps tutorials:
- Power Apps Modern Button Control
- Get Radio Button Selected Value in Power Apps
- Power Apps Button OnSelect
- Power Apps Radio Button Control
- Convert Dropdown to Radio Button in Power Apps Form
- How to Change Power Apps Toggle to Radio Button

Preeti Sahu is an expert in Power Apps and has more than 6 years of experience working with SharePoint and the Power Platform. As a Power Platform expert for Power BI, Power Apps, Power Automate, Power Virtual Agents, and Power Pages, she is currently employed with TSinfo Technologies. She is the author of the book Microsoft Power Platform A Deep Dive. She also made a big technical contribution to SharePointDotNet.com in the form of articles on the Power Platform. She enjoys traveling and spending time with her family in her spare time.