# Dynamic buckets (dashboard)

**URL:** <https://discuss.elastic.co/t/dynamic-buckets-dashboard/220997>\
**Category:** Kibana\
**Created:** [February 26, 2020, 9:49am UTC](https://discuss.elastic.co/t/dynamic-buckets-dashboard/220997 "2020-02-26T09:49:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_Louw](https://avatars.discourse-cdn.com/v4/letter/_/ee7513/32.png) [@\_Louw](https://discuss.elastic.co/u/_Louw)\
**Post date:** [February 26, 2020, 9:49am UTC](https://discuss.elastic.co/t/dynamic-buckets-dashboard/220997/1 "2020-02-26T09:49:44Z")

</div>

I am making some Kibana dashboards and would like to dynamically change which buckets I set in data tables and bar charts.

As example I need two views (I need more, but we'll keep it simple for now):  
The first view has a count of total answered messages, grouped by the week day as bucket.  
 ![bucket1](https://us1.discourse-cdn.com/elastic/original/3X/4/4/44be7fb05eff842f59ff4792b4a2247b389903fa.png)

The second view has the same count, still grouped by week day, but now also grouped by user id.  
 ![bucket2](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e97a99b84235efc8fba9e0b54e91cc0ebba2e1ae.png)

As in reality I'm going to have ~8 possible grouping buckets, and the user might want to combine them in different ways, it would clutter the dashboard to make a data table and a bar plot for each of the possibilities.  
So I ideally want a solution, where the user can click on a bucket and chose which buckets the visualizations should be grouped by. As far as I can see, this is not something the Control viz can do - it seems to be more focused on filtering on the individual values in the column and not on the entire column.

I don't know if this is even possible, but I can't imagine being the first to ever need this kind of functionality, so I hope someone has found a solution somehow.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 25, 2020, 9:49am UTC](https://discuss.elastic.co/t/dynamic-buckets-dashboard/220997/2 "2020-03-25T09:49:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
