Filtering Options in Bold Reports for a Seamless User Experience
Tags: boldreports, enterpriseserver, reportviewer, reportdesigner
Published: 2024-01-16 06:10:42


Businesses rely heavily on reports to make informed decisions in the current data-centric era. Reports provide insight into various aspects of a business, such as sales, marketing, and finance. However, with the immense amount of data available, it can be challenging to extract the necessary information to answer narrow questions. This is where filtering options come in. [Bold Reports](https://www.boldreports.com/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23) offers many filtering options to refine the presentation of data within a report, enabling the inclusion or exclusion of specific values from the display and offering many views of data.
In this blog, we will explore the following filters available in Bold Reports and how they can be used:

- Parameter-based filtering
- Dataset filters
- Table-based filtering
- Chart data filters

## Parameter-based filtering
In Bold Reports, filtering based on [parameters](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/report-parameters/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23) allows you to filter report data through user input. This enables interactive user input during runtime, dynamically influencing the presentation of the report. will act as an interface to get the runtime value from the user on viewer.

The following example displays a product sales report that is filtered using the product ID as the parameter.
![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wsocezp2z39hfteexr4g.png)Sales Report

To achieve parameter-based filtering, the user needs to create a parameter in the report. They can apply this parameter value to a dataset, table, or chart filter to filter the data during report processing. You can learn more about how to add a parameter to a report in this [documentation](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/report-parameters/add/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23).

Furthermore, users can implement cascading parameters within reports. [Cascading parameters](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/report-parameters/create-cascading-parameter/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23) allow one parameter to limit the values available for the next parameter, narrowing choices and creating a more manageable selection process.

## Dataset filters
You can also use dataset query parameter filters and a dataset filter. The query parameter filter is used to limit the data retrieval from a database and filter the data in the reports.

## Query parameter
To make use of dataset filters, your data source should have the ability to retrieve data based on input through parameters. If this is the case, we will link the report parameters with the query parameter and retrieve only the data needed for the report.

The following screenshot displays how a SQL query gets product details using the invoice number. Using Invoice ID as a parameter, the users can get and apply a value to the query string, and the query fetches data from the database related to that specific parameter. 
![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a36ipq5mte51wfigdloo.png)InvoiceID Parameter

You can learn more about query filtering in this [documentation](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/manage-data/dataset/dataset-parameters/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23).

You can also add a filter to the query. The [query filter](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/transforming-data/query-filter/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23) has the same functionality as the query parameter. The query filter can be added like in the following screenshot.
![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/38ecntk3pbwjzo8vnewy.png)Query Filtering

## Filtering datasets
We can make use of when connectors don’t have the ability to filter the data through parameters in the query.

In this case, you will retrieve all the data from the database and then filter it in report preparation. The following screenshot shows how to add filters in a dataset. 

![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7jvdg5co949ipcm54k40.png)
Adding Dataset Filters

You can learn more about how to add a parameter to a report in this documentation.

## Table-based filtering
Bold Reports employs table-based filtering, allowing users to filter data within the tablix data region. Imagine you’re working with a report that contains multiple tables. While each table needs to display different data, they all draw from the same dataset. In such cases, you can filter the data from dataset to show only the information relevant to each specific table.

The following image is a case of showing of Q1 and Q2 sales displayed in two tables, but the data is retrieved from one dataset.
![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k5u6pcqu4fxo5slmlre7.png)Sales By Quarter

To achieve this, apply the filter to the table, as you can see in the following image.
![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mv3m27mq89qi6yx1gzkr.png)Table Filter

To learn more about table-based filtering, refer to this [documentation](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/manage-data/dataset/dataset-parameters/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23).

## Chart data filters
Like with tables, if you want to show specific data in a chart or limit the data in a chart, then you can add a filter to it. To do this, apply the filter over the chart columns, as shown in the following image.
![Explore the power of filtering in Bold Reports. Learn how to refine and customize your data presentations by implementing advanced filtering techniques and providing meaningful user experience for your audience.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ek3tg79aru7pg4mh0h5j.png)Chart Data Filters

To learn more about chart-based filters, you can refer to this [documentation](https://help.boldreports.com/enterprise-reporting/designer-guide/report-designer/report-items/chart/add-filters-to-chart-data-region/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23).

## Conclusion
I hope this blog provided a clear overview of the data filtering options in the [Report Designer](https://help.boldreports.com/embedded-reporting/javascript-reporting/report-designer/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23&doing_wp_cron=1704697693.0860030651092529296875) that help deliver a seamless user experience. To explore further, go through our [sample reports](https://demos.boldreports.com/javascript/https://help.boldreports.com/embedded-reporting/javascript-reporting/report-designer/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23&doing_wp_cron=1704697693.0860030651092529296875) and [Bold Reports documentation](https://help.boldreports.com/index.html?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23&doing_wp_cron=1704697693.0860030651092529296875).

If you have any questions, please post them in the comments section. You can also contact us by submitting your question through our [contact page](https://www.boldreports.com/contact?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23&doing_wp_cron=1704697693.0860030651092529296875), or if you already have an account, you can [log in](https://www.boldreports.com/?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23&doing_wp_cron=1704697693.0860030651092529296875) to submit your support question.

Bold Reports offers a [15-day free trial](https://www.boldreports.com/pricing?utm_source=dev&utm_dev=partner_blog&utm_campaign=dev_filteringoptionsforaseamlessuserexperience_cy23&doing_wp_cron=1704697693.0860030651092529296875) with no credit card information required. We welcome you to sign up and experience Bold Reports for yourself. Give it a try and let us know what you think!

Stay tuned to our official Twitter, Facebook, LinkedIn, Pinterest, and Instagram pages for announcements about feature releases.