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

Help in a dropdown filter

Hello again.

 

I am trying to make the filters independent of each other, when in one select "-none-" that only appear filtered with a single dropdown, in this case they have to be related to the 2 to show the search, otherwise it will not show anything

 

sfdb.PNGwefw.PNGwfew.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Level 10

Re: Help in a dropdown filter

HI @DavidGarcia1 

 

I am assuming you need a condition where is None is selected then avoid that filter

If this is the case then use the following :

 


GroupBy(
Filter(
OrdenesAbiertas2,
(Dropdown1.SelectedText.Value in CLIENTE || If(
Dropdown1.SelectedText.Value = "-none-",
true,
false
)),(Dropdown3.SelectedText.Value in VENDEDOR || If(
Dropdown3.SelectedText.Value = "-none-",
true,
false
)),TextSearchBox1.Text in 'OC CLIENTE'
),
"OC_x0020_CLIENTE","Ordendeventa"
)

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

2 REPLIES 2
RezaDorrani
Level 10

Re: Help in a dropdown filter

HI @DavidGarcia1 

 

I am assuming you need a condition where is None is selected then avoid that filter

If this is the case then use the following :

 


GroupBy(
Filter(
OrdenesAbiertas2,
(Dropdown1.SelectedText.Value in CLIENTE || If(
Dropdown1.SelectedText.Value = "-none-",
true,
false
)),(Dropdown3.SelectedText.Value in VENDEDOR || If(
Dropdown3.SelectedText.Value = "-none-",
true,
false
)),TextSearchBox1.Text in 'OC CLIENTE'
),
"OC_x0020_CLIENTE","Ordendeventa"
)

 

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Community Support Team
Community Support Team

Re: Help in a dropdown filter

Hi @DavidGarcia1 ,

I have made a test on my side, please consider take a try to modify your formula as below (set the Items property of the Gallery to following):

GroupBy(
               Filter(
                        OrdenesAbiertas2,
                        If(
                           Dropdown1.SelectedText.Value = "-none-",
                           true,
                           Dropdown1.SelectedText.Value in CLIENTE
                        ),
                        If(
                           Dropdown3.SelectedText.Value = "-none-",
                           true,
                           Dropdown3.SelectedText.Value in VENDEDOR
                         ),
                         TextSearchBox1.Text in 'OC CLIENTE'
               ),
              "OC_x0020_CLIENTE",
              "Ordendeventa"
)

Please take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 49 members 4,546 guests
Please welcome our newest community members: