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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (18,568)