Expressions are commonly used in calculations of property value, and to change the content or appearance of a report. The ASP.NET MVC Report Viewer provides full support to process and view RDL custom code, built-in collection, conditional formatting, and Visual Basic functions used in report definition. You can use the conditional expressions to show or hide report items at run-time.
Custom code and assembly
Processes and renders report with assembly and custom code. which includes new custom constants, variables, functions, or subroutines. Embeds the code written in Visual Basic directly in your report. You can also use external assemblies in custom codes to render your own components as images in reports. If your code refers to any external assemblies, add the reference to the report.
Supports RDL reporting built-in collections such as Globals, User, ReportItems, Parameters, Fields, DataSets, DataSources, Variables, and built-in fields. You can include the ReportItem collection to summarize items on the page and display it in a page header or page footer.
Allows you to highlight or style table rows, chart data points, series, text box values, and any data in the report based on specified conditional expression. You can use operators and constants defined in the Visual Basic run-time library in a conditional or standard expression.
Renders additional fields to create new values that are not in a data set. Using this will avoid repeated calculation like aggregation, custom sort order, or custom formatted data value.
Visual Basic functions
Processes and renders Microsoft Visual Basic run-time library functions, and .NET Framework common language run-time classes (CLR) in math and convert namespaces. Used to manipulate data that will be displayed in text boxes, parameters, properties, or other areas of a report.
You can use SQL RDL built-in aggregate functions in expressions to include aggregated values in your report. The functions used to calculate summary, row counts, look up value in data set, and more are supported in Report Viewer.