# Create dashboard with multiple visualizations based on field value

**URL:** <https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372>\
**Category:** Kibana\
**Created:** [June 28, 2022, 2:25pm UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372 "2022-06-28T14:25:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elni/32/107684_2.png) [@elni](https://discuss.elastic.co/u/elni)\
**Post date:** [June 28, 2022, 2:25pm UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/1 "2022-06-28T14:25:52Z")

</div>

I have a line chart which is split based on a specific id as below.  
What I would really like however is that each line will appear alone in a separate chart/visualization within a dashboard based on a term filter.  
Is there any way to create this from within kibana?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e5672fd51ee6e2563a57b197fe296a0753e5a8b.png)

---

<div class="post-metadata">

**Author:** ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)\
**Post date:** [June 29, 2022, 10:51am UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/2 "2022-06-29T10:51:23Z")

</div>

Hi @elni ! I am not familiar with your data and I don't fully understand the information you want these charts to tell you so I have a few questions:

- what ID are you splitting (breaking down) the line chart on?
- is a line chart the best way to visualise this? It seems like "Job ID" is not really a sequential value, or is it? Does job 5 come before 6 and so on? Like a time series?
- would it be possible to use another visualisation to give you the information you want?

---

<div class="post-metadata">

**Author:** ![elni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elni/32/107684_2.png) [@elni](https://discuss.elastic.co/u/elni)\
**Post date:** [June 29, 2022, 12:42pm UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/3 "2022-06-29T12:42:35Z")

</div>

Hi @JLeysens , lets say my data includes:

```auto
{ 
    "jobId": 4,
    "jobDuration": 25,
    "jobName: "Job Number 1"
}

```

`jobId` is indeed sequential and should be on the x axis in ascending order, `jobDuration` is the y axis and I would like to have a separate chart per `jobName`.  
Each `jobName` will have hundreds of jobs and there might be 20-50 unique `jobNames`.

---

<div class="post-metadata">

**Author:** ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)\
**Post date:** [June 30, 2022, 8:33am UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/4 "2022-06-30T08:33:25Z")

</div>

OK I see, it is not possible to automatically, dynamically split charts in the way you are describing.

One thing you can consider doing is using a Control Option type visualisation. This way you can populate a list of items of job names and select the job name you want to see from the drop down.

You would still have on line chart with all your data, but only view on job name at a time.

Something like:

 ![Screenshot 2022-06-30 at 10.31.38](https://us1.discourse-cdn.com/elastic/original/3X/9/3/9366a70a5763aa5e82858d31f9f8409f907fa800.png)

Would that work for you use case?

---

<div class="post-metadata">

**Author:** ![JLeysens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jleysens/32/67404_2.png) [@JLeysens](https://discuss.elastic.co/u/JLeysens)\
**Post date:** [June 30, 2022, 8:35am UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/5 "2022-06-30T08:35:20Z")

</div>

> **[Filter dashboard data with controls | Kibana Guide \[8.3\] | Elastic](https://www.elastic.co/guide/en/kibana/current/add-controls.html)**
>
> Add interactive capabilities to your dashboard, such as controls that allow you to apply dashboard-level filters, and drilldowns that allow you to navigate to other dashboards and external websites.

---

<div class="post-metadata">

**Author:** ![elni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elni/32/107684_2.png) [@elni](https://discuss.elastic.co/u/elni)\
**Post date:** [June 30, 2022, 10:27am UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/6 "2022-06-30T10:27:16Z")

</div>

Ok great thanks, that is definitely a viable solution.

---

<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 28, 2022, 10:27am UTC](https://discuss.elastic.co/t/create-dashboard-with-multiple-visualizations-based-on-field-value/308372/7 "2022-07-28T10:27:51Z")

</div>

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