web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calculate age from two...
Power Apps
Unanswered

Calculate age from two date columns using workflow

(0) ShareShare
ReportReport
Posted on by 10

Hi!


I have a Dataverse table called "Wills". There are two date columns: bb_deceaseddate, and bb_birthdate.

 

When I add a new person into the database, I enter their birthdate. Once they are deceased, I have to enter their deceased date. When I do that their age of passing should be shown in a column bb_ageatpassing.

 

I was using a calculated column approach, which worked fine, but I was instructed that I have to use workflows or a Power Automate Flow, so the column can be used for the reports purporses.

 

Can anyone help me with this? Thank you. Regards, Bran

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    It would require custom workflow activities for this to be used in regular workflows. As far as I remember there is no DateDiff functionality in OOB workflows.

    I would recommend using Power Automate Flow.

    The design should be the following - on update of Deceased Date use DateDiff, extract the number of days and then divide by 365.25. Check this post - https://www.linkedin.com/pulse/date-difference-power-automate-david-adediran/

  • blatnjak_b Profile Picture
    10 on at

    @a33ik That's what I suspected. Power Automate is the only option I have. Thank you for your help!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard