Setting Expressions

Preview table can be used to set expressions in the special expression editor. Expressions are used for:

To open the Data Model Filter dialog box

To open the Calculated Field dialog box

Create a calculated expression in the formula area. One can use operands, arithmetic operations, functions, and characters in a formula.

NOTE. The Data Model Filter dialog box can be used to set logical expressions, by which filtering will be executed. The Calculated Field dialog box can be used to set expressions of any type. If a logical expression is set for calculated field, the field can take the 0 value for false expression and the 1 value for true expression. Both dialog boxes can also be used to set SQL queries. SQL query syntax depends on data source DBMS type.

Work with operaands

Work with characters

To hide the side panel, click the Hide Field Panel button.

Example

The example of filter expression:

"Covid-19"."Recoveries per day" > 100

The specified formula checks value of the Recoveries per Day field of the Covid-19 table:

After applying the filter, the preview table will look as follows:

The example of expression for calculated field:

"Covid-19"."Recoveries per day" / "Covid-19"."Country population" * 100

After executing the expression the preview table will have a new calculated field with values calculated by the specified formula:

See also:

Preview Table