cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Newbie settnig up Radio Button

ok, starting from scratch here

Opened SPO list as my data source - the list has 2 columns

I want a radio button which shows options from one list.  When selected, it sets a variable to the value in the othe column

 

My List has columns:

Company and Account Number

 

I want radio buttons to show list of companys (column 1).  When selected, a variable is set to = account number for that company

 

When I add radio button and point to data source, it just shows values from Column2 (account number)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Newbie settnig up Radio Button

Hi @fless1,

 

Please take a try to set the Value field under the Advanced pane for the Radio control to Company Name.

131.PNG

 

For the account number, you should be able to get it by the following ways:

1.

Radio1.Selected.AccountNumber

2. 

Lookup(ListName, Company=Radio.Selected.Value, Account Number)

More information about Radio control and Lookup function, see:

Radio control in PowerApps

Lookup function in PowerApps

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Newbie settnig up Radio Button

Hi @fless1,

 

Please take a try to set the Value field under the Advanced pane for the Radio control to Company Name.

131.PNG

 

For the account number, you should be able to get it by the following ways:

1.

Radio1.Selected.AccountNumber

2. 

Lookup(ListName, Company=Radio.Selected.Value, Account Number)

More information about Radio control and Lookup function, see:

Radio control in PowerApps

Lookup function in PowerApps

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Advocate I
Advocate I

Re: Newbie settnig up Radio Button

Thanks Michael.  Didn't help matters that the column name in my sharepoint site is different to the column label

 

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,184)