# How to compare two aggregations (Apr 2022)

**URL:** https://discuss.elastic.co/t/how-to-compare-two-aggregations-apr-2022/303480
**Category:** Kibana
**Created:** [April 28, 2022, 8:39am UTC](https://discuss.elastic.co/t/how-to-compare-two-aggregations-apr-2022/303480 "2022-04-28T08:39:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jurisn](https://avatars.discourse-cdn.com/v4/letter/j/bb73d2/32.png) [@jurisn](https://discuss.elastic.co/u/jurisn)
#### Post date: [April 28, 2022, 8:39am UTC](https://discuss.elastic.co/t/how-to-compare-two-aggregations-apr-2022/303480/1 "2022-04-28T08:39:24Z")

</div>

Three years ago I asked the question: [How to compare two aggregations](https://discuss.elastic.co/t/how-to-compare-two-aggregations/165446)

Hi,  
I have list for 24 hour period:  
PC1  
PC2  
PC3  
PC4

I have list for 1 hour period:  
PC3  
PC4

as result I will receive such list:  
PC1  
PC2

Do someone know how to do this?

Three years have passed and there is no 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: [May 26, 2022, 8:40am UTC](https://discuss.elastic.co/t/how-to-compare-two-aggregations-apr-2022/303480/2 "2022-05-26T08:40:17Z")

</div>

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