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 / Date comparing issue w...
Power Apps
Unanswered

Date comparing issue with Power Apps & Dynamics 365

(0) ShareShare
ReportReport
Posted on by 125

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?

 

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    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

     

  • sachinsoni441 Profile Picture
    125 on at

    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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard