Show More / Less Filters
Download: Show More/Less
Introduction
This post will present how to divide your dashboard filters to more and less important filter groups
Example
Steps
Step 1 - Download and extract the enclosed folder in the plugins folder:
C:\Program Files\Sisense\PrismWeb\plugins\dashFiltersPlugin, if the "plugins" folder is not there, please create it. If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder.
Step 2 - Go to the dashboard’s script and copy paste the following code
dashboard.on('refreshend', function(){ DashFilters({ dashboard: dashboard, importantFilters: ["[<TABLE_NAME>.<FIELD_NAME>]"] }); })
Step 3 - Code configuration
-
importantFilters: ["[<TABLE_NAME>.<FIELD_NAME>]"] - Add the filters that will always be visible. For date fields, add (calendar) after the filter name.
For example:
importantFilters: ["[commerce.Date (Calendar)]","[category.category]"]
Step 4 - Save the script and refresh the dashboard
August 15, 2016 - plugin updated. Fixed support for sisense 6.4+
Please sign in to leave a comment.
Comments
4 comments