cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mae_be9292
Level: Powered On

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 Team
Community Support Team

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
Level: Powered On

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
Level 10

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

mae_be9292
Level: Powered On

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

It didn't work.  They going error 😞

mae_be9292
Level: Powered On

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

yes, it store in gallery

Community Support Team
Community Support Team

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
Level: Powered On

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

Thank you. It work for me 🙂

Highlighted
mae_be9292
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (7,006)