Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Calculating the differ...
Sales forum
Suggested answer

Calculating the difference between dates from two different tables

Posted on by 52

I'm currently trying to make a view of orders that also includes the quote created on date. The only columns I have right now are Order ID, Name, Created On (Quote), and Date Fulfilled. However, I want another column that displays the difference in days between the two dates but I am having difficulty with this because they're from two different tables. Does anyone know if there is a way I can achieve this?

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,321 Most Valuable Professional on at
    RE: Calculating the difference between dates from two different tables

    Hello,

    I was able to implement such functionality but it was a bit hacky.

    1. On your child entity (Order) create a "Calculated" field to bring the data from (Quote) to the level of Order - it's a classic Calculated field. Check this - dyn365pros.com/.../

    2. In order to "Consume" the data from that newly introduced field and get the difference between dates you will have to use new "Formula" field - learn.microsoft.com/.../formula-columns

    Good luck.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans