Project Server 2010自定义字段公式 [英] Project Server 2010 Custom Field Formula

查看:261
本文介绍了Project Server 2010自定义字段公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个Project Server 2010中自定义字段的公式。 公式应如下所示: 当项目
日期超出实际完成日期时,颜色指示器应变为红色。  如果日期小于10天或等于实际完成日期,则颜色为橙色。如果日期小于实际完成日期的11天,则颜色为绿色。  




任何帮助设置这个帮助将不胜感激。

推荐答案

Callawar,你需要试验一下。我不确定我理解将项目日期与实际完成日期进行比较的价值。根据定义,项目(ed)日期等于任务完成时的实际完成日期。

Callawar, you will need to experiment with this. I'm not sure I understand the value of comparing the project date with the actual finish date. By definition, the project(ed) date is equal to the Actual finish date when a task is completed.

也就是说,计算两个日期差异的一般格式是使用公式像这样:

            DateDiff(" d",[Baseline1 Finish],[Finish])* 480

That said, the general format for calculating a difference of two dates is with a formula like this:
            DateDiff("d",[Baseline1 Finish],[Finish])*480

使用持续时间自定义字段,例如Duration1。 注意* 480将结果转换为显示天数。

Use a Duration custom field such as Duration1.  Note the *480 which converts the result to days for display.

作为替代方案,您可以使用ProjDateDiff函数,它允许您指定项目日历以便区别。

As an alternative you could use the function ProjDateDiff which allows you to specify the project calendar so that the difference.

在自定义字段对话框中指定指标以获得所需的颜色。测试按照您列出的顺序应用,直到找到匹配为止。

Specify the indicators in the custom field dialog box to get the colours you want. The tests are applied in the order you list them until a match is found.

Graham 

Graham 


这篇关于Project Server 2010自定义字段公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆