Filters In CDL
-
Date Filters
Add a date filter to reports with customizable periods such as days, weeks, months, and years. A code snippet creates a filter in the toolbar. ...
Continue reading... -
Creating Custom Filters with Expressions
Create custom filters with "filterType" and "optionType" properties for single/multi-select or hierarchical filters, with personalization and restrictions. ...
Continue reading... -
Making the Filter Visible in the Report
To make a filter visible in a report, use the "layoutArea toolbar" block to place filter code. Static filters are located in specific pages or widgets. ...
Continue reading... -
Defining Time Ranges
Filter report content and monitor metrics with time ranges using absolute or relative dates. Time range units are year, quarter, month, week, and day. ...
Continue reading... -
Creating Page-Specific Filters
Pages can have a specific filter toolbar, with filters that have the same capabilities as global filters. Use "ignorefilters" to hide global filters. ...
Continue reading... -
Creating Drill-down Filters
The drillDown filter uses hierarchical structure and must be defined within a layout area to be used at report level. Code example provided. ...
Continue reading... -
Creating a Simple Categorical Filter
The multiselect filter retrieves all options from a categorical question, defined using "optionsFrom" and "survey." Only works for categorical questions. ...
Continue reading... -
Creating Page-Specific Filters using Expressions
Page-Specific filters are pre-configured by designers and cannot be changed by end-users. Their code is within pages or widgets using expressions. ...
Continue reading... -
Using Filter Identifiers
How to use filter identifiers to display selected options in a widget. A sample code with available properties is given. ...
Continue reading... -
Ignoring Filters on a Page and Widget Level
You can ignore filters at a page or widget level in reports. Add "ignoreFilters" followed by the name of the filter or toolbar. ...
Continue reading...