2016. 11. 24. 00:14

Health check! Status 칼럼을 아이콘으로 표시하기

Status 칼럼은 다음과 같은 정보를 표시한다.


Name

Value

Description

pjComplete

0

Task complete.

pjFutureTask

3

Task for future.

pjLate

2

Task late.

pjNoData

4

Status not available.

pjOnSchedule

1

Task on schedule.

[참고: https://msdn.microsoft.com/en-us/library/ff863390.aspx]


이 정보를 이용해서 Health 라고 하는 Custom 칼럼을 추가해 보자. 이 칼럼은 Status 값에 따라서 아이콘으로 좀더 효과적으로 보이게 하기 위한 것이다.




1. Health 라는 Custom 칼럼 하나를 추가


2. 해당 칼럼 위에서 오른쪽 마우스를 눌러 'Custom Fields' 를 클릭


3. Formula 를 선택해서 다음을 입력


Switch([Status]=0,'Complete',[Status]=1,'OnSchedule',[Status]=2,'Late',[Status]=3,'FutureTask',[Status]=4,'NoData') 


4. 'Graphical Indicators...' 를 클릭한 후, 아래 그림 처럼  각 값 마다 적절한 이미지를 지정해 준다.



이렇게 하면 Health Column 에는 상태에 따라 아이콘이 표시된다. Status 칼럼은 Start/Finish 그리고 Complete 에 따라서 자동으로 설정되는 값이며 아래와 같다.


How Calculated    If the task is 100 percent complete, then Microsoft Office Project sets the Status field to Complete.

If the task start date is greater than the status date, then the Status field contains Future Task.

If timephased cumulative percent complete is spread to at least the day before the status date, then the Status field contains On Schedule.

If the timephased cumulative percent complete does not reach midnight on the day before the status date, then the Status field contains Late. 


https://support.office.com/en-us/article/Status-task-field-769145ac-e052-45af-a847-e5ef15778bb1