xtrareports-4812-feature-guide-to-devexpress-reports-use-report-parameters.md
Report parameters allow you and your end users to filter report data dynamically.
Built-in parameter types (String, Date, Number, Boolean, and GUID)
Multi-value parameters (filter report data against multiple criteria)
Cascading parameters (filter a parameter�s value list against selections made in a different parameter)
Range parameters (filter report data against a specified time period)
Static parameter values (create pre-defined (static) parameter value lists)
Dynamic parameter values (load parameter values from a data source dynamically)
Custom parameter types (create/use custom parameter types in addition to String, Date, Number Boolean, GUID)
Refer to the following documentation section for more details: Create a Report Parameter.
Once you create a parameter, you can reference it in your report�s filter string to filter underlying report data.
You can also reference the parameter in a report control�s expression or its Text property.
When used in this manner, you can filter data displayed within an individual report control (such as XRLabel) conditionally.
You can also bind data source parameters to report parameters and filter data at the data source level. Refer to the following help topic for more information: Reference Report Parameters.
Available report parameters appear within a report�s Print Preview window (inside the Parameters panel). Use this panel to specify desired parameter values:
You can also specify parameter values in code. Refer to the following topic for more information: Specify Parameter Values.
In the following samples, date-range report parameters are used to display invoices created within a specified time period.
Run Demo: Drill-Down Report (Desktop)Run Demo: Drill-Down Report (Web)
In the following samples, multi-value report parameters are used to filter invoices by company name.
Run Demo: Invoice (Desktop)Run Demo: Invoice (Web)
Watch Video: Introduction to Report ParametersWatch Video: Advanced Scenarios with Report Parameters
Tutorials that explain how to use this functionality in EUD Report Designers for WinForms and Web are included in the End-User Documentation online help section: