cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chudson002
Helper IV
Helper IV

FILTERING GALLERY WITH DROPDOWN

Used Shane Young's  formula example to sort Gallery from 2 drop downs, Division & FY, (works perfect)!

Search(
If(ddDiv.Selected.Result = "Select Division" And ddFY.Selected.Result = "Select FY", Customer,
ddDiv.Selected.Result = "Select Division"And d ddFY.Selected.Result <> "Select FY", Filter(Customer, FY = ddFY.Selected.Result),
ddDiv.Selected.Result <> "Select Division" And ddFY.Selected.Result = "Select FY", Filter(Customer, Division = dDiv.Selected.Result),
ddDiv.Selected.Result <> "Select Division" And ddFY.Selected.Result <> "Select FY", Filter(Customer, Division = ddDiv.Selected.Result And FY = ddFY.Selected.Result)), TextInput1.Text, "Employee")

Want to filter out just one Division on new screen.  Used - Filter(Customer, Division = "IT") - Returned only the IT Division (great). 

Here's my issue, cannot seem to connect the FY dropdown to filter the FY selected.

Tried many combinations and still a no-go.   Any recommendations?

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @chudson002 ,

Do you want to filter based on FY dropdown and Division = "IT"?

If so, try this formula:

Search(
        If(ddFY.Selected.Result = "Select FY", 
           Filter(Customer, Division = "IT") ,
           Filter(Customer, FY = ddFY.Selected.Result,Division = "IT")
           ),
         TextInput1.Text, "Employee"
        )

 

 

Best regards,

Community Support Team _ Phoebe Liu
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

3 REPLIES 3
VijayTailor
Resident Rockstar
Resident Rockstar

Hi @chudson002 ,

 

Select the Dropdown, Select the Column you need to Display. (See the Image for reference). 

VijayTailor_0-1601919708587.png

Thanks,

Vijay 

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

v-yutliu-msft
Community Support
Community Support

Hi @chudson002 ,

Do you want to filter based on FY dropdown and Division = "IT"?

If so, try this formula:

Search(
        If(ddFY.Selected.Result = "Select FY", 
           Filter(Customer, Division = "IT") ,
           Filter(Customer, FY = ddFY.Selected.Result,Division = "IT")
           ),
         TextInput1.Text, "Employee"
        )

 

 

Best regards,

Community Support Team _ Phoebe Liu
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

Worked perfectly....I almost had it!!!! 

Thank you so much!!!!!!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (3,300)