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

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

Hi @mae_be9292,

 

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

Highlighted
Skilled Sharer
Skilled Sharer

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

It didn't work.  They going error 😞

Highlighted

yes, it store in gallery

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

Thank you. It work for me 🙂

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (3,847)