Skip to main content
Version: 24.3

Fact Primary Workitem Days In

The Fact.PrimaryWorkitemDaysIn table contain information about how many days a Story, Defect, or TestSet spent in a given Status value. Each row in table represents a single Story, Defect, or TestSet was in a given status value. The DateKey is always set the the maximum date value from Fact.PrimaryWorkitem. It is important to note that oscillation between status values is not reflected in this table. Therefore, the "DaysInStatus" value may be greater than the value determined when you subtract FirstDateInStatus from LastDateInStatus.

Table Description

The following table describes the columns available in the default table.

Column NameDescriptionDatatypeForeign Key To
DateKeyMaximum Date in Fact.PrimaryWorkitemintDim.Date
PrimaryWorkitemKeyData Mart identifier for the PrimaryWorkitemintDim.PrimaryWorkitem
WorkitemStatusKeyData Mart identifier for the Workitem Status valueintDim.WorkitemStatus
DaysInStatusThe number of Days that this Primary Workitem was in this status valueint
FirstDateInStatusThe First Date this Primary Workitem was seen in this status valuedatetime
LastDateInStatusThe Last Date this Primary Workitem was seen in this status valuedatetime

m