Skip to main content Skip to complementary content

Column - chart function

Column() returns the value found in the column corresponding to ColumnNo in a straight table, disregarding dimensions. For example Column(2) returns the value of the second measure column.

Syntax:  

Column(ColumnNo)

Return data type: dual

Arguments
Argument Description
ColumnNo Column number of a column in the table containing a measure.
Information noteThe Column() function disregards dimension columns.

Limitations:  

  • Recursive calls will return NULL.

  • If ColumnNo references a column for which there is no measure, a NULL value is returned.

  • Sorting 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: Chart expressions
Example Result

Column(1)/Column(2)

Returns the value of the first measure divided by the value of second measure in the chart.

Example - Column fundamentals

Example - Column scenario

Example - Column scenario analyzing sales data

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!