cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AVTS
Post Partisan
Post Partisan

Canvas App- Date Filter

Trying to display the reports based on the date filter.

 

Current Setup :

  1. DataTable
  2. DatePicker1
  3. DatePicker2

AVTS_0-1620387485653.png

Datasource is selected in Datatable Items : Dailyinventory.

 

How to display the filter based table results in the Datatable

 

 

 

22 REPLIES 22

Thank you for your initiative and effort.

Formula follows

Filter (Dailyinventory, 'Created On' >= DatePicker2.SelectedDate && 'Created On' <= DateAdd(DateAdd(DatePicker3.SelectedDate;1;Days);-1;Milliseconds))

Following error,

AVTS_0-1620933428329.png

 

zaphod88
Responsive Resident
Responsive Resident

Made an error in pasting as we are using semicolon instead of comma here in Germany. Corrected:

Filter (Dailyinventory, DateColumn >= StartDate.SelectedDate && DateColumn <= DateAdd(DateAdd(EndDate.SelectedDate,1,Days),-1,Milliseconds))

Great . Looks its giving the correct result. Thank you friend.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,935)