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 / Date filter with dropbox
Power Apps
Answered

Date filter with dropbox

(0) ShareShare
ReportReport
Posted on by 250

Hey, 

here is the code am using but am trying to insert, so rither do a condition on the actual month i like to add a dropbox to select the month.

Thanks guys

If(
 !IsBlank(
 LookUp(
 Add_Expensive,
 DateOf >= Date(
 Year(Now()),
 Month(Now()),
 1
 ) And DateOf < DateAdd(
 Date(
 Year(Now()),
 Month(Now()),
 1
 ),
 1,
 Months
 )
 )
 ),
 Text(Sum(Add_Expensive, Income) - Sum(Add_Expensive, Purchase), "0.00€")
)

a dropbox with the name of the month, cant figure out where to but it

 

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @loopingmurdock 

    To get an Items property for the dropdown, create a collection 

    Collect(
     col_months,
     Calendar.MonthsLong()
    );
    ForAll(
     col_months,
     Collect(
     colNumberedMonths,
     Last(
     FirstN(
     AddColumns(
     col_months,
     "RowNumber",
     CountRows(colNumberedMonths) + 1
     ),
     CountRows(colNumberedMonths) + 1
     )
     )
     )
    )

    and use colNumberedMonths as the Items property.

    You can filter your table 

    Filter(
     AddExpense,
     Month(Dateof) = Dropdown1.Selected.RowNumber
    )

     

  • loopingmurdock Profile Picture
    250 on at

    Thanks... alot

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard