Advanced Custom Filter (with Multi Select)

Comments

5 comments

  • Avatar
    Bhuvana Govindaraju

    Hi 

    I am facing performance issues with this plug-in. When I add one advanced filter, it slows down the dashboard and when I add second advanced filter, the page stops responding. 

    Is this a known issue?

    Thanks

  • Avatar
    Tal Admon

    >By default, the items that show up in the menu will not be filtered by any dashboard filters that are set.

    Is there a way to change this behavior and force the filter widget to slice according to the dashboard filters?

    I have an embedded dashboard that will show me a single account (filter for account_id is transmitted in the URL of the embedded dashboard). Within the dashboard I want the adv. filter to show only and all the users of this specific account - how can I do it?

     

  • Avatar
    Lidor Rosencovich

    Hey Tal,

     

    Thanks for the feedback, your request is currently documented as a plugin limitation as the development was intended to replace the dashboard filter functionality and not be dependant on it. The plugin does support cascading filters, you could set up your filter according to it if needed.

     

    Let me know if you have any questions on the above.

    Regards,

    Lidor

  • Avatar
    Jessie Wang

    Hi Lidor, when I select drop down for the advanced filter, then I select one of the options but the filter stays open covering up some of the information below. I have to click on it again to get it to close.   Is this the expected behavior?  I would think once I click on one of the options, the drop down would close.

  • Avatar
    Sisense License

    Hi,

    I have a no problem with this filter when i only use it once on a dashboard,

     

    My issue is I cannot get it to clear the previous selections for the filter after the dashboard has been refreshed or re-loaded, each user see what they had last selected and once re-used all the preivous selections come up.

     

    I used this to refresh the filters however it doesn't not affect the advanced filter:

     

     

    window.resetFilters = function(d) { //Function to reset the dashboard filters to the default filters.  Takes parameter 'd' which is a reference to the dashboard
    	
    	d.filters.clear(); //Clears current filters
    	
    	d.defaultFilters.forEach(function(filter, index){ //Loop through each default filter and apply to current dashboard filters
    		if(index != d.defaultFilters.length - 1){ //Does not refresh filter if it is not the last filter
    			d.filters.update(filter,{
    				save:true, 
    				refresh:false, 
    				unionIfSameDimensionAndSameType:true
    			});
    		} 
    		else{//Only refresh dashboard on the last filter
    			d.filters.update(filter,{
    				save:true, 
    				refresh:true, 
    				unionIfSameDimensionAndSameType:true
    			});
    		} 
    	})
    	
    }
    
    dashboard.on('initialized', function(d){    //Resets filters to default when dashboard is first loaded (or refreshed)
    	
    		resetFilters(prism.activeDashboard); //Resets filters
    	
    })


    Please see attached screen shot which shows previous selections even though dashboard has been reloaded and refreshed.
    is there a way to remove these selections??



Please sign in to leave a comment.