Category / Section
How do I filter a widget data via embedding?
Published:
Bold BI supports to filter the data on a widget, even the dashboard is embedded into an application, using setFilterParameters() method. You can filter the data either by passing the values with column names or only the values.
Add the below code snippet based on your scenario, to achieve different levels of filtering on a widget.
Filtering data without column name
Single value:var instance = BoldBI.getInstance("container"); // container -> embed container idMultiple values: var instance = BoldBI.getInstance("container"); //container->embed container id |
Filtering data with column name
Single column:var instance = BoldBI.getInstance("dashboard"); // container -> embed container id Multiple columns: var instance = BoldBI.getInstance("dashboard"); // container -> embed container id |
|
Related links