web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : RFiI9QqbF38hCHPpLqKbgh
Power Apps - Power Apps Governance and Administ...
Answered

radio buttons

Like (0) ShareShare
ReportReport
Posted on 11 Mar 2019 09:34:52 by

Hello.

 

I'm creating a apps for case management.

 

I would like to design the gallery data to be Filtered by the selected radio button.
And, I want to initialize the radio button selection status when the update button was pressed.
Do you know the way?

I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on 18 Mar 2019 at 02:08:23
    Re: radio buttons

    Hi @Anonymous ,

    Have you solved your problem?

     

    If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved for other users in this forum.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on 18 Mar 2019 at 01:59:26
    Re: radio buttons

    Hi @v-xida-msft

     

    I got a solution based on your advice.

    Thank you for a lot.

  • v-xida-msft Profile Picture
    on 14 Mar 2019 at 05:15:58
    Re: radio buttons

    Hi @Anonymous ,

    Could you please share a bit more about the formula you typed within the Items propertyof the Gallery?

    Do you want to filter your Gallery items based on the Text Input1 box text and the Radio1 button selected value, and sort the result by Descending?

     

    I have made a test on my side, please take a try with the following workaround:

    Set the Items property of the Gallery to following:

    If(
     !IsBlank(Radio1.Selected.Value), 
     SortByColumns(
    Filter('YourDataSource', StartsWith(Client, InputText1.Text), Category = Radio1.Selected.Value),
    "Case No",
    Descending
    ), SortByColumns(
    Filter('YourDataSource', StartsWith(Client, InputText1.Text)),
    "Case No",
    Descending
    ) )

    Note: I assume that you want to sort your Gallery items based on "Case No" column.

    Or

    If(
     !IsBlank(Radio1.Selected.Value), 
     SortByColumns(
     Filter('YourDataSource', InputText1.Text in Client, Category = Radio1.Selected.Value),
     "Case No",
     Descending
     ),
     SortByColumns(
     Filter('YourDataSource', InputText1.Text in Client),
     "Case No",
     Descending
     )
    )

    Please take a try with above formula I provided, then check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on 14 Mar 2019 at 04:54:31
    Re: radio buttons

    Hi v-xida-msft

     

    Thanks for a lot of advice.

    I was abile to solve it with the following below function.

     

    reset(radio1)

     

    Could I ask other question?

     

    This image is  the Case Management I'm making.
    I want to make the following three functions

     

    1.Client name filtering when input text
    2.Status filtering when checked Radio1 selected
    3.Gallery is always sort by Descending

     

    Please tell me the solution.
    I'm thinking of input some function in the "Gallery1" but I have not done yet.

     

    Thank you.

  • Verified answer
    v-xida-msft Profile Picture
    on 12 Mar 2019 at 08:46:47
    Re: radio buttons

    Hi @Anonymous ,

    Could you please share a screenshot about your app's configuration?

    Do you want to filter your Gallery items based on the selected value within the Radio button control, and want to reset the Radio button when the Update button was pressed?

     

    I have made a test on my side, please take a try with the following workaround:6.JPG

    Set the Items proeprty of the Gallery to following:

    If(
    !IsBlank(Radio1.Selected.Value),
    Filter('20190211_case5', Title=Radio1.Selected.Value),
    '20190211_case5'
    )

    On your side, you should type:

    If(
     !IsBlank(Radio1.Selected.Value), 
     Filter('YourDataSource', FilteredColumn = Radio1.Selected.Value), /* <-- FilteredColumn represents the column in your data source, which you want to use to compare with the selected value within the Radio button control*/
     'YourDataSource'
    )

     

    If you want to reset the Radio button control when you presses the "Update" button, please take a try with the following workaround:

    Add the following formula within the OnSelect property of the "Update" control:

    Reset(Radio1) /* <-- Radio1 represents the Radio button control in your app */

    Or

    Set the Reset property of the Radio button control to following:

    IsReset

    Add the following formula within the OnSelect property of the "Update" control:

    Set(IsReset, true);Set(IsReset, false)

    More details about the Filter function in PowerApps, please check the following article:

    Filter function

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics

Loading complete