Filter option is available for Chart, Table, Geo map and KPI label view. |
You can access Filter option from toolbox in the upper right corner of the view.
Filter dialog includes list of attributes and indicators used in the view. You can filter either by:
To apply a filter, you have to:
There are four conditions available:
For date and datetime attributes, it is also possible to use relative variables, such as:
Additionally, the variables can be modified with date modifiers:
Examples for datetime:
Examples for date:
There are the following conditions available:
Filtering by indicator values is defined only for basic cases. It can produce unpredictable result if you use complex drill-down paths or date/time dimension. |
Hint: See crossValue() function to access all data in the view even if the filter is active. This allows you to calculate eg. ration of some value to total which is not affected by current view filter. |
You can combine different attributes/indicators or even apply more conditions for one attribute/indicator. Multiple filters can be merged with AND or OR condition.
Applied filters are listed under the view title and labeled with Filter tag. In case of attribute filter, you can click on the condition to modify values.
Since BellaDati 2.9.9, it is possible to copy the whole filter configuration from one view to another. The views have to be in the same report.
You can access the current signed user attributes to build the filter. In order to do this, add a custom expression as a filter value:
Name | Description |
---|---|
${user}, ${user.username} | Returns the username of currently signed user |
${user.email} | Returns the email of currently signed user |
${user.name} | Returns the first name of currently signed user |
${user.surname} | Returns the last name of currently signed user |
${user.locale} | Returns the user's locale of currently signed user |
${user.info} | Returns value from user field additional info. |
${domain}, ${domain.name} | Returns the name of currently signed user's domain |
${domain.locale} | Returns the locale of currently signed user's domain |
${domain.timezone} | Returns the timezone of currently signed user's domain |
See example here:
You can use wildcards in BellaDati which allow you to substitute any number of characters in the custom value.
Name | Description |
---|---|
% | Replace zero or any number of characters. |
_ | Replace one single character |
See Report Variables and Filters components