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 / Filter by SQL date in ...
Power Apps
Unanswered

Filter by SQL date in PowerApps

(0) ShareShare
ReportReport
Posted on by

I'm trying to use a DatePicker to filter my gallery. The first image is what I've got right now (not the final product) and the second image is what I'm trying to achieve. Don't mind all the info in the first image, I'll edit that once I get to filter the dates.ANota.pngAnota2.png

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,242 Most Valuable Professional on at

    Hi @KevinRDynasoft ,

    I assume this is based on a person with different categories in the pay. You would approach it something like this

    AddColumns(
     GroupBy(
     Filter(
     YourListName,
     Text(YourDateField,ShortDate) = Text(YourDatePicker.SelectedDate,ShortDate)
     ),
     "YourPersonField",
     "OtherData",
     ),
     "Gross Pay",
     Sum(
     OtherData,
     GrossPayField
     ),
     "Adjustments",
     Sum(
     OtherData,
     AdjustmentField
     ),
     "Deductions",
     Sum(
     OtherData,
     DeductionField
     ),
     "Taxes Withheld",
     Sum(
     OtherData,
     TaxWithheldField
     ),
     "Net Pay",
     Sum(
     OtherData,
     NetPayField
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

  • PaulD1 Profile Picture
    2,914 on at

    Hi @KevinRDynasoft 

    Is your issue delegation? I believe SQL DateTime fields still do not support delegation. The quick/easy way to filter on a SQL Date is to have a view or calculated column that converts the date into an int - e.g. yyyymmdd. You can then use that field for delegated filters and sorts.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard