Boolean Functions
These functions are available for Calculated Fields and Crosstabs apart from IsRow and IsColumn, which are only appropriate for Crosstabs.

Simply used as an inserted value. It is not a function.

Simply used as an inserted value. It is not a function.

Function |
Within( <Period> , <Date Expression> , <Date Expression> , <Expression> ) or Within( <Period> , <Date Expression> , <Date Expression>, <Date Expression> , <Date Expression> , <Expression> ) |
Description | Returns any record (row of data) that satisfies the supplied parameters. Primarily to be used where true date values are not in place e.g. a week number and a year number as separate fields. |
Arguments |
The period refers to the period of time to be used by the range expression. This argument can contain DAYS, WEEKS, MONTHS, YEARS. The first date expression is the date field to be used. This can be an actual date or a partial date. The second date expression is the end point of the required date range e.g. if you want to return all data for the previous month, the end point of the range would be FIRST_DAY_OF_MONTH-1DAY. The final expression is the range value of the within function. This is an array-based number and so will start at 0 (zero). Additional Date Expressions can be used if only elements of a date are available as separate fields. In this case, the structure of the arguments is as follows:
|
Examples |
|

Function | IsRow( <String Expression> ) |
Description | References a row or nested row. |
Arguments | The string expression should be a case-sensitive reference to the name of a field value. The reference must be contained in single quotes. To reference a nested row value use comma separated string values. |
Examples |
|

Function | IsColumn( <String Expression> ) |
Description | References a column or nested column. |
Arguments | The string expression should be a case-sensitive reference to the name of a field value. The reference must be contained in single quotes. To reference a nested column value use comma separated string values. |
Examples |
|

Function | Matches( <Expression> , <Expression> ) |
Description | Used within a CASE or IF statement, returns whether a field matches a specified value |
Arguments | The string expression can be a field or a static string value. This can be a date, a string or a numeric value. |
Examples |
|