cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BiTry
Resolver I
Resolver I

Filtering gallery with radio button value

Hi,

 

SortByColumns(Filter('OP_list',StartsWith('Title',TextInput3.Text || 'Signo yes/no'.value=Radio2.Selected.value) And 'Gate (SZV)'<>false
),var_lezart_oszloprendez,var_rendez_irany_lezart)

 

Radio2 button values true/false, 'Signo yes/no' column have bool (true/false).. it's just a syntax error or the idea is wrong. THX!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @BiTry ,

You were missing one bracket (if you parse/indent your code as below, you will generally see it) - also your and/or needs proper bracketing

SortByColumns(
   Filter(
      'OP_list',
      StartsWith(
         'Title',
         TextInput3.Text
      ) || 
      (
         'Signo yes/no'.Value = Radio2.Selected.Value &&
         !'Gate (SZV)'
      ),
   ),
   var_lezart_oszloprendez,
   var_rendez_irany_lezart
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @BiTry ,

You were missing one bracket (if you parse/indent your code as below, you will generally see it) - also your and/or needs proper bracketing

SortByColumns(
   Filter(
      'OP_list',
      StartsWith(
         'Title',
         TextInput3.Text
      ) || 
      (
         'Signo yes/no'.Value = Radio2.Selected.Value &&
         !'Gate (SZV)'
      ),
   ),
   var_lezart_oszloprendez,
   var_rendez_irany_lezart
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Thx!!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,144)