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 differen...
Power Apps
Answered

Calculate age difference in a model driven app

(0) ShareShare
ReportReport
Posted on by 10

Hi!

 

I am building a model driven app to manage pledges and prospects.


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. (which is equal to birthdate subtracted from deceased date)

 

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

Categories:
I have the same question (0)
  • Verified answer
    SBax Profile Picture
    1,348 on at

    is age at passing a whole number or a decimal number?

     

    This might work for you, just replace UTCNow() with your deceased date

     

    https://learningrefresh.home.blog/2020/06/09/calculate-age-using-power-automate/

  • blatnjak_b Profile Picture
    10 on at

    @SBax It is a whole number. This might do, 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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard