Represents one “row” of data that can be added to a Report.
Properties
Date | The date of the data, if required. |
SubjectId | A unique ID representing one row of data |
IncludeInSubjectTotal | If true, then this data will be included when calculating a total for the subject. This defaults to true, except when a dimension has been added, then it will default to false. |
ReplaceExistingSubjectData | If true, then this data will replace any subjectData that has been previously added to the report with the same SubjectId and SubjectCode. Defaults to false |
Metrics | A list of metrics that the subjectData contains values for. |
Dimensions | A list of dimensions that the subjectData contains values for. |
Methods
AddValue | Adds a metric to the subject data (ie a column). The value can be added as a string, decimal or date. |
AddDimension | Adds a dimension to the subject data (ie a foreign key). |
Click to see Comments