web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple Dropdown Filt...
Power Apps
Unanswered

Multiple Dropdown Filters for Expense Report

(0) ShareShare
ReportReport
Posted on by 233

Hello, I have an ‘Expense_Report_DataTable’ that I need to filter using several dropdowns. I am having trouble as to where to start with the formula. Can you help me with this formula? I am expecting a lot of records and I’ll need the formula to be Delegable.

 

 

First is a filter by Year. With the Current year as the default.

Items: YearCollection  // has years from 2020 - 2037

Dropdown Name: Year_Filter_Dropdown

 

Second filter is a break down within the year selected in filter one. For the Quarterly, is there a way to specify which quarter to look up? if I need to add Q1,Q2,Q3,and Q4 to the dropdown that would be fine.

Item: ["Month","Quarterly","Year To Date"]

Dropdown Name: Date_Filter_Dropdown2

 

 

Third Filter is by Common Supplies

Item: CommonSuppliesCollection

Dropdown Name: Common_Supplies_Filter_Dropdown2

 

Please let me know if you need any other info. Thanks.

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @Chrisguff12 ,

     

    Check https://www.youtube.com/watch?v=5dSk5iOgT68 & https://youtu.be/6KlI1iZ_KD0 

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

  • Chrisguff12 Profile Picture
    233 on at

    @RezaDorrani 

     

    Hey, I checked out your Youtube channel and plan to go over more of your videos.

    So after beating my head against the wall for a few days this is all I could come up with.

     

    The first Filter, which is not working. i'm not sure if it has something to do with collection

     

    Filter('Expense App List New',Created = Year_Filter_Dropdown.Selected.Year)

     

     

    The second Filter only half works. This Week, This Month, and Year To Date work. I cant get the Quarters to work. I'm not sure what I have to add to the ends of them (similar to the Month string.) 

    Edit: Also I'm not sure if using a filter for the Created field can be Delegable.

     

    Switch(
     Date_Filter_Dropdown2.Selected.Value,
     "This Week",
     Filter('Expense App List New',Created>=DateAdd(Today(),If(Weekday(Today())<>1,-Weekday(Today())+2,-6),Days) && Created<DateAdd(Today(),If(Weekday(Today())<>1,9-Weekday(Today()),0),Days)),
     "This Month",
     Filter('Expense App List New',Year(Created)=Year(Today()) && Month(Created)=Month(Today())),
     "Q1",
     Filter('Expense App List New',Year(Created)=Year(Today())),
     "Q2",
     Filter('Expense App List New',Year(Created)=Year(Today())),
     "Q3",
     Filter('Expense App List New',Year(Created)=Year(Today())),
     "Q4",
     Filter('Expense App List New',Year(Created)=Year(Today())),
     "Year To Date",
     Filter('Expense App List New',Year(Created)=Year(Today())),
     'Expense App List New'
    )

     

     

    The third Filter works good. 

     

    Sort(
     Filter(
     'Expense App List New',
     IsBlank(Common_Supplies_Filter_Dropdown2.Selected.Supplies)||
     CommonSupplies = Common_Supplies_Filter_Dropdown2.Selected.Supplies
     ),
     ID,Ascending
    )

     

     

    And in the end I still need to combine all three formulas into one. for my data table.

     

    Any more help will be greatly appreciated.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 413

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
timl Profile Picture

timl 315 Super User 2026 Season 1

Last 30 days Overall leaderboard