|
1 | 1 | --- |
2 | 2 | title: Use Expressions |
3 | | -owner: Anna Vekhina |
| 3 | +owner: Mary Sammal |
4 | 4 | --- |
5 | 5 | # Use Expressions |
6 | 6 |
|
7 | | -Use expressions to [retrieve and format data](use-report-elements/bind-controls-to-data.md), [create calculated fields](shape-report-data\use-calculated-fields.md) and [calculate summaries](shape-report-data\calculate-summaries\calculate-a-summary.md), [conditionally shape data and change a report control's appearance](shape-report-data\specify-conditions-for-report-elements.md). |
| 7 | +Topics in this section describe how to use expressions in a report: |
8 | 8 |
|
9 | | -## Expression Syntax |
10 | | - |
11 | | -An expression is a string that is parsed and processed to evaluate a value. Expressions consist of field names, constants, operators, and functions. Field names are wrapped in square brackets. |
12 | | - |
13 | | -_"[Quantity] * [UnitPrice] * (1 - [BonusAmount])"_ |
14 | | - |
15 | | -_"[FirstName] + ' ' + [LastName]"_ |
16 | | - |
17 | | -_"[Country] == 'USA'"_ |
18 | | - |
19 | | -_"[OrderDate] > #8/16/1994# AND [Quantity] > 20"_ |
20 | | - |
21 | | -You can use [operators, functions, and constants](use-expressions\expression-syntax.md) in your expressions. |
22 | | - |
23 | | -See the [Data Binding Modes](use-expressions/data-binding-modes.md) topic for details on the available binding modes. |
24 | | - |
25 | | -## Expression Editor |
26 | | - |
27 | | -The Report Designer's [Expression Editor](report-designer-tools/expression-editor.md) that provides functions, operators, data source fields, report elements, constants, and variables to construct expressions. |
28 | | - |
29 | | - |
30 | | - |
31 | | -The Expression Editor highlights an expression's syntax and supports intelligent code completion (it suggests functions and available data elements as you type). |
32 | | - |
33 | | - |
34 | | - |
35 | | -The Expression Editor displays all the errors it finds in the specified expression. |
36 | | - |
37 | | - |
38 | | - |
39 | | -## Filter Editor |
40 | | - |
41 | | -The Report Designer's [Filter Editor](report-designer-tools/filter-editor.md) allows you to specify filter criteria for a report or [Chart](use-report-elements/use-charts-and-pivot-grids.md)'s series. |
42 | | - |
43 | | - The Filter Editor provides a visual interface where you can use an unlimited number of conditions and combine them with logical operators to create filter criteria. You can also switch to the Advanced Mode and type a filter string. |
44 | | - |
45 | | - |
46 | | - |
47 | | -The Filter Editor highlights an expression's syntax and supports intelligent code completion (it suggests functions and available data elements as you type). |
48 | | - |
49 | | - |
| 9 | +* [Expressions Overview](use-expressions/expressions-overview.md) |
| 10 | +* [Expression Language](use-expressions/expression-language.md) |
| 11 | +* [Functions in Expressions](use-expressions/functions-in-expressions.md) |
| 12 | +* [How to: Use Expressions](use-expressions/how-to-use-expressions.md) |
| 13 | +* [Data Binding Modes](use-expressions/data-binding-modes.md) |
0 commit comments