How to Change Report Content by User Input in Bold Reports
To change report content by user input in the Bold Reports Report Designer, add a report parameter, populate its available values from a dataset field, then add a tablix filter that compares that field to the parameter value. At run time the reader selects a value and clicks View Report, and the tablix shows only the rows that match.
When to use this
Use this when one report must show different data to different readers from a single design — for example, one client report where each reader picks their own client and sees only those rows. The parameter supplies the choice; the tablix filter applies it.
Bold Reports Report Designer allows you to dynamically change report content based on user input by using report parameters and dataset filtering. By populating a parameter from a dataset and applying it as a tablix filter using an expression such as =Parameters!ClientName.Value, the report displays only the records that match the user’s selection when the report is rendered. This approach is useful for creating a single report that presents different data to different users based on the selected parameter value.
Steps
-
Design a report with a tablix or another data region that displays the data you want to filter.
-
Add a report parameter named ClientName to collect the user’s choice.
-
Set the parameter’s available values to Query Value, choose the dataset, and pick the field that supplies the choices,
FirstNamein this example. This fills the run-time dropdown from live data. -
Select the tablix, open its filter dialog, and add a filter that compares the filter field to the parameter value using this expression:
Filter part Set it to Notes Expression =Fields!FirstName.ValueThe field being filtered, use the same unique field you set as the parameter’s Value field. Operator =(Equal)Text equality. For a multi-value parameter, use Ininstead.Value =Parameters!ClientName.ValueThe selected parameter value. -
Save the report and preview it.
Result
The preview shows the ClientName values in a dropdown. When the user selects a value and clicks View Report, the tablix refreshes and displays only the rows that match the selected client.