Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Calculating the difference between dates from two different tables

Posted on by 54

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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans