cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

How to filter by using many dropdowns on the same formula ?

Hi Powerapp Community ,

i'm building my first app powerapp. i have three screen : HOME , ANNOUNECEMENTS & LISTS.


After filtring the announcementType by my drowpdown1.Then , I want to add another action on the same Item.
I wanna filter by language (it's my dropdown2 & dropdown3). i tried but still doesn't work don't know where is the issue !
How may i using many dropdowns (the three dropdown of my app) on the same formula Items to show them on my List screen.

 

 

Tnx a lot for your help.

Regards ,

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to filter by using many dropdowns on the same formula ?

Hi charafRef,

 

Please try if this will work for you.

SortByColumns(Filter(ProjectEmail,StartsWith(Status.Value,Dropdown1.Selected.Value)&&Dropdown2.Selected.Value in Title),"Title",If(SortDescending1,Descending,Ascending))


In this function, I have two Dropdown controls, Dropdown1 for a Choice column, Dropdown2 for a Text column.


Please modify the function according to your scenario.


If you need more help, please feel free post back.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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
Highlighted
Community Support
Community Support

Re: How to filter by using many dropdowns on the same formula ?

Hi charafRef,

 

Please try if this will work for you.

SortByColumns(Filter(ProjectEmail,StartsWith(Status.Value,Dropdown1.Selected.Value)&&Dropdown2.Selected.Value in Title),"Title",If(SortDescending1,Descending,Ascending))


In this function, I have two Dropdown controls, Dropdown1 for a Choice column, Dropdown2 for a Text column.


Please modify the function according to your scenario.


If you need more help, please feel free post back.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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

Highlighted
Advocate III
Advocate III

Re: How to filter by using many dropdowns on the same formula ?

Hi @v-yamao-msft 

Sorry for my late answer. I had found the solution by myself. Exaclty like your formula.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,140)