Custom Interactive Filter not filtering pie charts on a dashboard

Preben
Tera Contributor

I have created a simple custom interactive filter based on the incident table. This will filter the assignment group in the pie chart to Database if i click the Database-button. 

Even though I have set the pie chart to 'Follow interactive filter' it's not getting filtered. However, if I change a setting in the "Edit Widget" setting for the pie chart, it will start getting filtered based on the custom interactive filter. 

If I refresh the dashboard, the pie chart will not get filtered by the custom interactive filter before I do "any" change in the "Edit Widget" again. 

Seems like this is a problem for pie charts and not for column charts. 

Anyone know how this can be fixed?

find_real_file.png

 

 

Dynamic content script: 

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<script>
var my_dashboardMessageHandler = new DashboardMessageHandler("my_unique_id");
</script>
Example of a filter, that generates a static filter on 'incident' table reports, or remove it <br/>
<input id="allTasks" type="button" value="All tasks" onclick="my_dashboardMessageHandler.removeFilter();" />
<input id="Database" type="button" value="Database" onclick="my_dashboardMessageHandler.publishFilter('incident','assignment_groupLIKEDatabase' );" />
</j:jelly>

7 REPLIES 7

Preben
Tera Contributor

Anyone that got an idea? 

Is this behavior in all browsers?

Preben
Tera Contributor

Hi, 

Yes, tried IE, Firefox and Chrome. Same issue in all browsers. 

Oleg
Mega Sage

The code of interactive filter contains an error. The filter

assignment_groupLIKEDatabase

should be fixed it to

assignment_group.nameLIKEDatabase