Bottom([TOTAL] expr [ , offset [,count ]])
Return data type: dual
||The expression or field containing the data to be measured.|
Specifying a negative offset number makes the Bottom function work like the Top function with the corresponding positive offset number.
By specifying a third parameter count greater than 1, the function will return not one but a range of count values, one for each of the last count rows of the current column segment. In this form, the function can be used as an argument to any of the special range functions. Range functions
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.
Recursive calls will return
Examples and results:
In the screenshot of the table shown in this example, the table visualization is created from the dimension
The table also shows more complex measures: one created from Sum(Sales)+Bottom(Sum(Sales)) and one labeled
In the screenshots of tables shown in this example, more dimensions have been added to the visualizations:
In the first table, the expression is evaluated based on Month, and in the second table it is evaluated based on Product. The measure End value contains the expression Bottom(Sum(Sales)). The bottom row for Month is
Please refer to Example: 2 in the
The Bottom function can be used as input to the range functions. For example: RangeAvg (Bottom(Sum(Sales),1,3)).
In the arguments for the Bottom() function,
A table with Customer as dimension gives the following results for the