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

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

Hi @mae_be9292,

 

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

panand99
Impactful Individual
Impactful Individual

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

It didn't work.  They going error 😞

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

Thank you. It work for me 🙂

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,362)