The selection drop down is ready. now lets add some more graphs to make it more interesting when we select a department. I added 'Open & resolved cases over time', the KPI 'High priority Cases' and 'Case Details'. So the final page should look like this:
Last, we must set the button to the original state after the user clicks on the "Clear All". We just add the following line in the code.
$('#QV01 .dropdown button').html('Select Department <span class="caret"></span>');