columns <columnid> [, <columnid> ... ]

columns <columnid> [, <columnid> ... ]
Description

Specifies which columns shall be included in a report.

All columns support macro expansion. Contrary to the normal macro expansion, these macros are expanded during the report generation. So the value of the macro is being changed after each table cell or table line. Consequently only build in macros can be used. To protect the macro calls against expansion during the initial file processing, the report macros must be prefixed with an additional $.

AttributesNameTypeDescription
columnidID

See table below for possible values.

Optional Attributescelltext, cellurl, hidecelltext, hidecellurl, subtitle, subtitleurl, title, titleurl
Contextcsvaccountreport, csvresourcereport, csvtaskreport, htmlaccountreport, htmlmonthlycalendar, htmlresourcereport, htmltaskreport, htmlweeklycalendar, resourcereport, taskreport,
InheritableNoScenario Spec.No

accountsThis columns lists the account that is assigned to the respective task. It is called 'accounts' because later versions will have support for multiple accounts.
chartUse this column to get Gantt and resource charts. It's only supported by the interactive reports in the GUI.
completedThe percentage the task has been completed already. This is either the value specified by complete or a value computed according to the current date (or the date specified by now) and the length, duration or effort.
completedeffortThe effort of a task that has already been completed.
costThe accumulated costs of the task and its sub tasks
criticalnessThe criticalness of the task. It is a measure for the probability that an effort task gets the requested resources early.
dailyA day-by-day calendar view of the tasks
dependsThe task index of the tasks on which this task depends
durationThe duration of the task
efficiencyThe efficiency of the resource. It's a measurement of how much the resource can contribute to the workload of tasks.
effortThe effort put into the task
endThe end date of a task
endbufferThe percentage of the endbuffer
endbufferstartThe start time of the end buffer
flagsThe list of flags assigned to the task or resource
followsThe task index of the tasks that depend on this task
freeloadThe workload of the resource that has not been allocated.
hierarchindexThe hierarchical index of a task. The index is calculated from the hierarchical structure of the list as well as the start and end dates.
hierarchnoThe hierarchical number of a task. It is based on the order of declaration.
idThe global ID of a task
indexThe index of a task. The index is calculated from the hierarchical structure of the list as well as the start and end dates.
maxeffortThe maximum daily load wanted for the resource
maxendThe latest desired end date
maxstartThe latest desired start date
mineffortThe minimum daily load wanted for the resource
minendThe earliest desired end date
minstartThe earliest desired start date
monthlyA month-by-month calendar view of the tasks
nameThe name of a task, resource, or account
noThe task index in the list. It starts with 1 and increases for every listed item by 1.
noteThe description of the task
pathcriticalnessThe overall criticalness of the task. It is a measure for the probability that an effort task gets scheduled as early as possible. The tasks of the most critical path have the highest path criticalness.
priorityThe scheduling priority
profitThe accumulated profit of the task and its sub tasks
projectidThe project ID of the task
projectidsThe project IDs of the projects a resource is allocated to
quarterlyA quarter-by-quarter calendar view of the tasks
rateThe daily rate of the resource
referenceA reference to a URL that contains further information.
remainingeffortThe effort of a task that still needs to be done to complete the task..
resourcesThe names of the used resources
responsibilitiesA list of all tasks indices for which a resource is responsible
responsibleThe name of the resource responsible for a task
revenueThe accumulated revenue of the task and its sub tasks
scenarioThe name of the scenario. This column is helpful when multiple scenarios are shown in the table. See also scenarios.
scheduleA detailed schedule of the allocations for the resource.
schedulingThe scheduling direction of the task. ASAP (As Soon As Possible) tasks are scheduled from start to end, ALAP (As Late As Possible) are scheduled from end to start.
seqnoThe task index in the order of declaration. Each time a task declaration is completed, the sequence number is increased by 1.
startThe start date of a task
startbufferThe percentage of the start buffer
startbufferendThe end time of the start buffer
statusThe current status of the task. This is derived from the current date or the date specified by now and the degree of completion. The degree of completion is either computed or has been specified by complete.
statusnoteSome comment about the current status of the task.
totalTotal accumulated values
utilizationThe ratio between the allocated work load of the resource and it's overall available work load.
weeklyA week-by-week calendar view of the tasks
yearlyA year-by-year calendar view of the tasks

The following macros are supported for normal table cells:

$${0}This is the original value of the table cell. This macro is useful if the user would like to extend the cell text with a fixed string.
$${accountid}The ID of the account.
$${resourceid}The ID of the resource.
$${taskid}the id of the task.

Additionally the original contents of other cells of the same report line can be accessed by the column ID. The following columns are supported:

index, no, hierarchindex, hierarchno, id, name

For the title or sub title of the calendar columns (daily, weekly, monthly, quarterly, yearly) the following macros are supported:

$${day}, $${month}, $${week}, $${quarter}, $${year}.

project prj  "Project" "1.0" 2005-01-01 - 2005-03-01

resource r "Resource"

task t "Task" {
  task s "SubTask" {
    start 2005-01-01
    effort 5d
    allocate r
  }
}

# Just a very basic report with some standard columns
htmltaskreport "SimpleReport.html" {
  columns hierarchindex, name, start, end, weekly
}

# Report with custom colum title
htmltaskreport "CustomTitle.html" {
  columns hierarchindex, name { title "Work Item" }, effort
}

# Report with custom colum title and subtitle
htmltaskreport "CustomSubTitle.html" {
  columns hierarchindex, name,
          monthly { title " " subtitle "$${month} $${year}" }
  loadunit days
}

# Report with efforts only for leaf tasks 
htmltaskreport "LeafEfforts.html" {
  columns hierarchindex, name,
          effort { hidecelltext ~isLeaf() }
}

# Report with link in title of calendar
htmltaskreport "LinkURL.html" {
  columns hierarchindex, name,
          monthly { subtitleurl "Monthly-Detail-$${month}.html" }
}

# Report with link to page with furter task details
htmltaskreport "LinkToTaskDetails.html" {
  columns hierarchindex,
          name { cellurl "TaskDetails-$${taskid}.html"
                 hidecellurl ~isLeaf() }, start, end
}

# Report with index and task name combined in one single column
htmltaskreport "CombinedColumn.html" {
  columns name { celltext "$${hierarchno} $${0}"}, start, end, weekly
}