cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Dual Super User II
Dual Super User II

HI @Anonymous 

 

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

View solution in original post

2 REPLIES 2
RezaDorrani
Dual Super User II
Dual Super User II

HI @Anonymous 

 

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

View solution in original post

v-xida-msft
Community Support
Community Support

Hi @Anonymous ,

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

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,548)