ColumnNo - chart function
ColumnNo() returns the number of the current column within the current row segment
in a pivot table. The first column is number 1.
Syntax:
ColumnNo([total])
Arguments:
Arguments
TOTAL
|
If the table is one-dimensional or if the qualifier TOTAL is used as argument, the current column segment is always equal to the
entire column.
Defining the aggregation scope
|
If the pivot table has multiple horizontal dimensions, the current row
segment will include only columns with the same values as the current
column in all dimension rows except for the row showing the last horizontal
dimension of the inter-field sort order.The inter-field sort order for horizontal dimensions in pivot tables
is defined simply by the order of the dimensions from top to bottom.
Information noteSorting on y-values in charts or sorting by expression columns in tables is not allowed when this chart function is used in any of the chart's expressions. These sort alternatives are therefore automatically disabled. When you use this chart function in a visualization or table, the sorting of the visualization will revert back to the sorted input to this function.
Example:
if( ColumnNo(
)=1, 0, sum( Sales ) / before( sum( Sales )))
Dimension
In Analytics Services:
A dimension is an entity used to categorize data in a chart. For example, the slices in a pie chart or the bars of a bar chart represent individual values in a dimension. Dimensions are often a single field with discrete values, but can also be calculated in an expression.
Similar terms: Category, group
See: Data grouping with dimensions
In Data Integration:
A dimension is a dataset in a data mart that forms part of the star schema. Dimension datasets hold the descriptive information for all related fields that are included in the fact table’s records. A few common examples of dimension datasets are Customer and Product. Since the data in a dimension dataset is often denormalized, dimension datasets have a large number of columns.
See: Creating and managing data marts