top of page

Group bars in Column/Bar chart

Pie chart has an option to display top n slices and group rest of the slices to a single slice called 'Others' . While we click on that 'Others', it will show all items within that Slice. But we don't have this option in Bar/Column chart. Here is a script to group top n bars in Column/Bar chart.



Steps:

  1. Create a Bar/Column chart

  2. Add below script to the widget and specify how many bars need to be displayed. Rest of the bars will group to single bar called 'Others'

  3. Save the script and refresh the widget


Contact us for the script

Price $20


Notes:

  1. Value of bar 'Others' is the SUM of values of items associated with the bar.

  2. This functionality works when dimension in X-axis has no filter. For example, if X-axis shows 'Region', the functionality works well if all regions are selected in dashboard filter. If only few Regions are excluded or included, chart will show all bars.

  3. Contact us if you need to customize the existing behavior of script.






Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
BI Next Level white logo

BI Next Level is your trusted resource for BI customization, data solutions, and expert insights. Explore practical tips, scripts, and tutorials for tools like Sisense, Python, and SQL. Let’s transform your data into impactful insights together.

Quick Links
Connect with us
Copyright © 2024. All Rights Reserved. Designed, Developed & Maintained  by Intertoons
bottom of page