# Visualization complex

**URL:** https://discuss.elastic.co/t/visualization-complex/169790
**Category:** Kibana
**Created:** [February 25, 2019, 9:44am UTC](https://discuss.elastic.co/t/visualization-complex/169790 "2019-02-25T09:44:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sysdradmin](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@sysdradmin](https://discuss.elastic.co/u/sysdradmin)
#### Post date: [February 25, 2019, 9:44am UTC](https://discuss.elastic.co/t/visualization-complex/169790/1 "2019-02-25T09:44:39Z")

</div>

Hello,  
We have 2 tables from 2 index.

1er index: 'acl' and table 'name'  
2eme databse :'content' and table 'desciprion'

In first database we have :

## id | name |

X234 | john  
d234 | paul

In 2nd database we have

ident | content  
id=X234 | xxxxx  
id=d234 | xxxxx  
id=x234 | xxxxx

With kibana we want to do a pie chart which :

- count where id = ident and he display in pie chart the 'name' ( john )

typically with this example the result is :

2 for john  
1 for paul

and in the pie chart we display : John and paul with count 2 and 1

is it possible ?

rgds

---

<div class="post-metadata">

### Author: ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)
#### Post date: [February 25, 2019, 11:41pm UTC](https://discuss.elastic.co/t/visualization-complex/169790/2 "2019-02-25T23:41:05Z")

</div>

Elasticsearch can't do joins, so the general recommendation here would be to denormalize your data when indexing it in ES if possible.

---

<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, 2019, 11:41pm UTC](https://discuss.elastic.co/t/visualization-complex/169790/3 "2019-03-25T23:41:07Z")

</div>

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