# Display Predefined Category type for Pie Chart when landing to Kibana Dashboard

**URL:** <https://discuss.elastic.co/t/display-predefined-category-type-for-pie-chart-when-landing-to-kibana-dashboard/307688>\
**Category:** Kibana\
**Created:** [June 20, 2022, 6:27pm UTC](https://discuss.elastic.co/t/display-predefined-category-type-for-pie-chart-when-landing-to-kibana-dashboard/307688 "2022-06-20T18:27:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chamod\_maduranga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chamod_maduranga/32/106703_2.png) [@chamod\_maduranga](https://discuss.elastic.co/u/chamod_maduranga)\
**Post date:** [June 20, 2022, 6:27pm UTC](https://discuss.elastic.co/t/display-predefined-category-type-for-pie-chart-when-landing-to-kibana-dashboard/307688/1 "2022-06-20T18:27:43Z")

</div>

In my dashboard there are plenty of visuals. Out of them i have filter and pie chart. Let's say using filter we can select which Ware house's asset types count distribution you want display(Asset Types: Laps, Scans and printers). so when user selecting each Warehouse, pie chart shows corresponding asset type's count distribution.

Problem is when i log into dashboard first i can see the newest data point for each asset types.lets say latest data for Laps are 10 from warehouse A and latest data point for Scans 25 from warehouse C. Initial pie chart shows laps are 10 and Scan are 25. What i want display is either any datawarehouse or predifined warehouse when user first log into dashboard.

When i selecting using filter it shows the correct data . Only question is when user see dashboard after logging and before selecting.

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d191b25ee4a4bc4a4aaecfe48c716210f2cc659e.png)

So as above pic.when user see the dashboard just after logging it shows asset types from diffrent warehouse. I want to show predifined Warehouse.

Note: To make above donut plot i used Top hits for count , descending timestamps and group by using "Asset types".  
In this graph what i need to show is latest asset types count distribution for each warehouse.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 20, 2022, 8:28pm UTC](https://discuss.elastic.co/t/display-predefined-category-type-for-pie-chart-when-landing-to-kibana-dashboard/307688/2 "2022-06-20T20:28:01Z")

</div>

Which version of Kibana are you using? You should be able to save the filter as part of the dashboard. You could also try using input controls (see [Dashboard tools | Kibana Guide [7.9] | Elastic](https://www.elastic.co/guide/en/kibana/7.9/for-dashboard.html)).

---

<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:** [July 18, 2022, 8:28pm UTC](https://discuss.elastic.co/t/display-predefined-category-type-for-pie-chart-when-landing-to-kibana-dashboard/307688/3 "2022-07-18T20:28:28Z")

</div>

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