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
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,493)