Expand my Community achievements bar.

Need help creating a calculated field to determine TAT

Avatar

Level 2

I am trying to create a calculated field in a custom form that will show me the average turn around time form Project Initiation To Approved Go Live date on all completed projects.  I cannot figure out how to get two expressions in the calculated field.  I know one would be DATEDIFF({DE:Approved Implementation Date},{DE:Project Initiation Date})

but I don't know how to add the expression to get the average.  Any suggestions?

14 Replies

Avatar

Community Advisor

You cannot create a calculated field in one project form that will search for other projects in the system and then run math to calculate an average over all. I think you're thinking about a report, in which case, you would create a column for your turn time, set it to Average, and then group by that column.

Avatar

Level 2

I have the Ave TAT calculation in the report however, because it is a text mode field, I cannot group by that column and the report is to provide Ave TAT by project size year over year.  Everything I read states that in order to group in a report, it has to be a field in a custom form.  Any suggestions how I can create a report with Average TAT by project size if I can't group by the column because it is a text mode field?

Avatar

Community Advisor

Do your single turn time calculation in your custom form, and do the "averaging" part in the report.

Avatar

Level 2

Did that but it doesn't work because you can't group on a text mode field.

Avatar

Community Advisor

You created a calculated field to replace your text mode column. Group by that calculated field, the single turn time for that project.

Avatar

Level 2

Tried that but it isn't working.  Thanks for your suggestions.  

Avatar

Community Advisor

Submitting a case to Support can sometimes be helpful, as they are always able to gently troubleshoot and guide you into giving as much information as possible. Right now, "isn't working" doesn't give me enough information to help you do anything.

Avatar

Level 2

I created the calculated field in the form that gives TAT per project.  I created a text mode column in the report that shows the average TAT.  The field I need to group by is the text mode column field and I cannot do that so I tried the other way and grouped by the TAT at the project level and the result is not what I need.  I grouped by Project size, Turn around time and Approved Implementation date (Year).  When I go to the chart, I do not have Turn Around Time as an option to select.  

DawnSc_0-1721858366499.png

Grouping is as follows 

DawnSc_1-1721858428187.png

 

Avatar

Community Advisor

things to check:

 

1) In your form, is your calculated field formatted as a number? 

2) in your report, you needed to put it in the column view. When you bring it into a column view, are you selecting Average under the dropdown that says "Summarize this column by" in the columns?

 

 

Avatar

Level 2

Hi,

 

I just went back and looked at my calculation and it is saved as text.  Is there a way to change the calculation to number now that t has been created?

 

I do have the column view in my report but I don't have the option to select summarize by average and I assume that is because the calculated field is text and not number.

Avatar

Community Advisor

no, just copy the calculation and make a new calculated field and format it as number

Avatar

Level 2

WOOOHOOOO!!!!  It worked.  THANK YOU!!!!  One last question (hopefully) now that I have the average turn around time by project size in my report chart.  Is there a way and the year in there so it would show ave TAT by project size for each year 2021-2024?  So it looks something like this?

DawnSc_0-1721926565375.png

 

Avatar

Community Advisor

I would probably say to look into combination charts? Or work with a remote consultant if you can't get it. 

Avatar

Level 3

hi, 

I do this using actual start and actual completion time - 

field name - Turn Around Time --> formula to be used  --> Round(DATEDIFF({actualCompletionDate},{actualStartDate}),2)
You might want to try using Round(DATEDIFF({DE:Approved Implementation Date},{DE:Project Initiation Date}),2)
 
I also do the grouping to show these in charts using this formula - 
IF({DE:Turn Around Time}<5,"<5 Day Turnaround",IF({DE:Turn Around Time}<=10,"5-10 Day Turnaround"))) add as much as grouping you might want. 
 
hoping this helps.