Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

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

  • blatnjak_b Profile Picture
    10 on at
    Re: Calculate age from two date columns using workflow

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

  • Verified answer
    a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Calculate age from two date columns using workflow

    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/

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 15 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics