cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sachinsoni441
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?

 

2 REPLIES 2
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:

ThisItem.StartTimeTest

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.

 1.PNG

 

Best regards,

Mabel

 

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

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

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

SecondImage

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)