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 / 'Snapshotting' in Data...
Power Apps
Unanswered

'Snapshotting' in Dataverse calculated columns

(0) ShareShare
ReportReport
Posted on by 11

Hi all,

 

I have a question regarding calculated columns in Dataverse which I hope you can help me with.

 

Let's say I have a table in Dataverse that keeps track of employee salaries each month.

 

Each month, a new record is created for each employee with Date, Base Salary, Extras, Deductions and Final Salary.

Final Salary is a calculated column: Final Salary = Base Salary + Extras - Deductions.

Date, Extras and Deductions are inputted every month.

Base Salary, however, is a fixed value, kept as a field in another table.

At record creation, the Final Salary calculation occurs fine.

 

However, let's say the employee gets a raise and Base Salary changes. As far as I understand, all Final Salary amounts for previous months would get recalculated based on the new value of Base Salary, which would be wrong.

 

So my question is, is there a way to make calculations 'snapshot' the value of a field at record creation, rather than be updated whenever the value changes? In this situation, Final Salary would be calculated at record creation (each month) and then stay the same regardless of changes in Base Salary

 

Thanks for your time and your help! 🙂

I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @RMarchante ,

     

    Sorry this is not possible.  You would need another field on your monthly data that would be populated as a raw currency value vs. a calculated column so it will not change over time.  You might think of having a date based historical table of the base salary for the Employee and then maybe utilize a flow to populate your monthly records by looking up the appropriate salary based on the date as this could be complicated if they get a rate in the middle of the month as well 🙂

     

  • RMarchante Profile Picture
    11 on at

    Thanks! I'll have a look at the options you suggested.

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard