Expression Reference (Report Builder and SSRS)

Report expressions support a variety of references to built-in functions and built-in collections. Expressions must have valid Visual Basic syntax before a report can be published or processed.

To develop complex expressions or expressions that use custom code or custom assemblies, we recommend that you use Report Designer in SQL Server Data Tools (SSDT). For more information, see Custom Code and Assembly References in Expressions in Report Designer (SSRS).

Note

You can create and modify report definitions (.rdl) in Report Builder and in Report Designer in SQL Server Data Tools. Each authoring environment provides different ways to create, open, and save reports and related items. For more information, see Designing Reports in Report Designer and Report Builder (SSRS) on the Web at microsoft.com.

Use the topics in this section to help write simple expressions in a report.

In This Section

Data Types in Expressions (Report Builder and SSRS)

Constants in Expressions (Report Builder and SSRS)

Operators in Expressions (Report Builder and SSRS)

Built-in Collections in Expressions (Report Builder and SSRS)

Built-in Globals and Users References (Report Builder and SSRS)

Parameters Collection References (Report Builder and SSRS)

Dataset Fields Collection References (Report Builder and SSRS)

DataSources and DataSets Collection References (Report Builder and SSRS)

Report and Group Variables Collections References (Report Builder and SSRS)

ReportItems Collection References (Report Builder and SSRS)

See Also

Concepts

Expressions (Report Builder and SSRS)