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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (93,496)