cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarcoGouveia
Advocate I
Advocate I

Filter table by dropdown.

Hey, guys. I'm trying to filter a table by two conditions (dropdown lists) BUT I can't even set one condition!

 

The formula I'm trying: 

 

Filter(CeF_Fmto_Ftas; CeF_Fmto_Ftas_Cliente = Dropdown2.Selected.Value)

 

It's not working and I stil need to filter with the second dropdow...

 

Hope you guys can help me.

 

There is a screenshot attached.

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi @MarcoGouveia 

 

What is the data type you're using to fill the dropdowns?

 

Have you tried: 

 

Filter(CeF_Fmto_Ftas; CeF_Fmto_Ftas_Cliente = Dropdown2.SelectedText.Value)

View solution in original post

6 REPLIES 6
eka24
Super User III
Super User III

Usually, this should be working except if the dropdown is Distinct, in that case:
Filter(CeF_Fmto_Ftas; CeF_Fmto_Ftas_Cliente = Dropdown2.Selected.Result)

With the second dropdown
Filter(CeF_Fmto_Ftas; CeF_Fmto_Ftas_Cliente = Dropdown2.Selected.Result&&Dropdown3.Selected.Result)

 

OR
Filter(CeF_Fmto_Ftas; CeF_Fmto_Ftas_Cliente = Dropdown2.Selected.Result&&Dropdown3.Selected.Value)

thank you very much for replying!!

 

I tryide the alternative formula and still had no result.

 

But thank you again anyway!

Is it possible to show the formula in both dropdowns, A screenshot will help

Anonymous
Not applicable

Hi @MarcoGouveia 

 

What is the data type you're using to fill the dropdowns?

 

Have you tried: 

 

Filter(CeF_Fmto_Ftas; CeF_Fmto_Ftas_Cliente = Dropdown2.SelectedText.Value)

View solution in original post

That workd! 

 

You guys have an reference where I can learn the diferences between "SelectedText" "Selected.Value" "Selected.Id" and so on??

Thank you for the tip about the sec dropdown!

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

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,523)