cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mae_be9292 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
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
ajennings1 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.

panand99 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
mae_be9292 Helper I
Helper I

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

It didn't work.  They going error 😞

mae_be9292 Helper I
Helper I

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

yes, it store in gallery

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

mae_be9292 Helper I
Helper I

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

Thank you. It work for me 🙂

mae_be9292 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
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

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