Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Pricey79
Helper V
Helper V

Use modified dates not originals

Hello , I was hoping someone could help me please

 

I have a few columns in sharepoint that are Date/Time columns, called Original and New. There is a third column called Duration which is a date diff of the two columns Original and New. The problem i have is that if original gets modified, the date diff takes the very first original date, not the new modified one. 

What can I do here so it uses the latest one please?

 

Any help is much appreciated

 

Thank you 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Pricey79 

 

Based on the description of your issue, it seems that the calculation for the "Duration" column might be referencing a static value or not updating dynamically with changes to the "Original" date. 

 

Please try the following:

 

Ensure Dynamic Calculation for Duration:

 

Ensure your formula is correctly set up. =DATEDIF([Original], [New], "d")

 

Workflow or Power Automate:

 

 If the above does not resolve the issue, consider using SharePoint workflows or Power Automate to update the "Duration" column.

 

You can create a workflow or an automation that triggers on item update, which recalculates the "Duration" based on the current values of "Original" and "New" columns.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Pricey79 

 

Based on the description of your issue, it seems that the calculation for the "Duration" column might be referencing a static value or not updating dynamically with changes to the "Original" date. 

 

Please try the following:

 

Ensure Dynamic Calculation for Duration:

 

Ensure your formula is correctly set up. =DATEDIF([Original], [New], "d")

 

Workflow or Power Automate:

 

 If the above does not resolve the issue, consider using SharePoint workflows or Power Automate to update the "Duration" column.

 

You can create a workflow or an automation that triggers on item update, which recalculates the "Duration" based on the current values of "Original" and "New" columns.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Anonymous Thank you 🙂

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors