Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Date comparing issue with Power Apps & Dynamics 365

Hello PowerApps Users,


I have one Entity in Dynamics365, which have date field, which store date time

Dynamics365 Date.png

 I want to compare this Dynamics365 Date with PowerApps Datepicker date.

Please help for this issue?


Community Support Team
Community Support Team

Re: Date comparing issue with Power Apps & Dynamics 365

Hi @sachinsoni441,


Could you share more details on your scenario? How do you want to compare the two dates?

I have made the following app for your reference.

Before starting, I added a date and time field called StartTimeTest into entity Accounts.

Then start an app from data based on entity Accounts.

On the BrowsGallery screen, add a Date picker control and a label.

Display the StartTimeTest on screen by setting the Text property of one field as:


Then set the Text property of the Label with this code:

If(ThisItem.StartTimeTest>DatePicker2.SelectedDate,"expired","Not yet stared")

Please check it for a reference and feel free post back if you need more help.



Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Date comparing issue with Power Apps & Dynamics 365

Hello sir,


I want to filter my powerapps gallery based on Date Selected in datepicker, so my dynamics entity have one date column, which store date & time, i want if user select any date from date picker then, gallery filtered based on selected date.


My Current Approch is:


Sort(Filter('Bookable Resource Bookings',Resource.Name=Dropdown4.Selected.Value && 'Start Time'=DatePicker1.SelectedDate),'Start Time',Descending)


but this formula not working properly.


Many Thanks

Helpful resources


Power Apps Super User Class of 2020

Check it out!


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,344)