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

How do I use radio button to filter information?

I want to use radio button to filter my information, What should/ code I do

 

ex. I have many information of Date , Name , Type

and I create radio button to filter it , I mean when I select "Type" ,

it only show the data in "Type" catagory.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How do I use radio button to filter information?

Hi @mae_be9292 ,

Could you tell me

1)what data source that you use?

2)what's the Type field's data type?

I've made a test for your reference:

1) Type field is choice

Radio Items: Choices(tablename.Type)

Items:Filter(tablename,Type.Value=Radio1.Selected.Value)

2)Type field is text

Items: tablename

Value: Type

Items: Filter(tablename,Type=Radio1.Selected.Type)6112.png

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
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

7 REPLIES 7
Highlighted
Resolver I
Resolver I

Re: How do I use radio button to filter information?

Hi @mae_be9292,

 

How is your information stored? Is it in a Gallery?, Form? etc.

Highlighted
Skilled Sharer
Skilled Sharer

Re: How do I use radio button to filter information?

Hi @mae_be9292 , you can use below formula in items of gallery Filter(collRadio,Type=Radio2.Selected.Value)

 

collRadio is collection/form

Radio2 is your radio button

Highlighted
Helper I
Helper I

Re: How do I use radio button to filter information?

It didn't work.  They going error 😞

Highlighted
Helper I
Helper I

Re: How do I use radio button to filter information?

yes, it store in gallery

Highlighted
Community Support
Community Support

Re: How do I use radio button to filter information?

Hi @mae_be9292 ,

Could you tell me

1)what data source that you use?

2)what's the Type field's data type?

I've made a test for your reference:

1) Type field is choice

Radio Items: Choices(tablename.Type)

Items:Filter(tablename,Type.Value=Radio1.Selected.Value)

2)Type field is text

Items: tablename

Value: Type

Items: Filter(tablename,Type=Radio1.Selected.Type)6112.png

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
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
Helper I
Helper I

Re: How do I use radio button to filter information?

Thank you. It work for me 🙂

Highlighted
Helper I
Helper I

Re: How do I use radio button to filter information?

Hi!

 

From your solution, I try and it work with choices but it doesn't work with text.

Could you please share the picture of power app code when you use it with text type.

 

Thank you

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

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

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,642)