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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Edit calculated column...
Power Apps
Answered

Edit calculated columns with Power FX, freeze problem

(0) ShareShare
ReportReport
Posted on by 8

I have two columns calculated. Calculated Start Date and Calculated end date with formula Power FX.

Four other not calculated columns:

Previus Job: yes/no

Start Date: Date

Time from previus job: (numbers)

Estimated Duration (days): Numbers

One Column is lookup: Previus job. 

. So 

Calculated End Date: 

If(Not('Previus Job?'), 'Start Date (Forecast)',DateAdd('Previus Job'.'Calculated End Date','Time from previus Job (days)'))
 
Calculated End Date:
DateAdd(Calculated Star Date','Estimated Duration (days)')
 
As you see, I need to edit one calculated colums. The problem is when I try to edit the formula, always is saving, and never finished. Just show saving, but never finish. 
 
Please help me.
Thanks in advance
 
I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Gonzalobmc,

    Looking at your formulas, it's normal (by design) why it never loads because there's no end condition. The calculation is always based on a calculated field of related lookup where that related lookup's calculated field is dependent on a calculated field of a related lookup and so on. Plus, if a Previous Job down the chain has a lookup to a same job (up the chain), you'll have an infinite loop. Hope this makes some sense... The formula can reference lookups and other calculated columns but it cannot be the same calculated columns. You need to physical store the end date (perhaps with a business rule at the entity level) and then reference stored end date when using the Previous Job.
    Hope this helps!

  • Gonzalobmc Profile Picture
    8 on at

    Thank you @Eric, the problem with the Business Rule is when It just change in line line, not al dependent nexts Jobs. What I want to create Is something like project. You have Task 1, task 2 and task 3, we just put the start date from the firs one, and the duration for task2 and task3. Is the logic. I have try with bussines rule and workflow, but just adjust the same task I Edit. I need to use calculated column in order to automatic adjust all dependant start date. 

  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Gonzalobmc,

    The best and simplest way IMO is with a Power Automate flow. It will not be achievable with calculated, business rules and workflows. Have a flow that triggers when a new task is created, edited (start and end date) or deleted. Then retrieve all the active tasks related to the project of the task that caused the trigger and calculate the duration. Save that calculated duration on the project record.

    Hope this helps!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard