# Value comparison

**URL:** <https://discuss.elastic.co/t/value-comparison/167381>\
**Category:** Elasticsearch\
**Created:** [February 7, 2019, 5:48am UTC](https://discuss.elastic.co/t/value-comparison/167381 "2019-02-07T05:48:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denis\_Kazinachikov](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Denis\_Kazinachikov](https://discuss.elastic.co/u/Denis_Kazinachikov)\
**Post date:** [February 7, 2019, 5:48am UTC](https://discuss.elastic.co/t/value-comparison/167381/1 "2019-02-07T05:48:35Z")

</div>

Hello!

I use elastic for to collect retail prices of goods.  
Many products do not change the price, and in the graph there is a mess, I want to remove from the schedule the products whose price does not change.  
Metric "Unique count" shows how many times the price has changed, but for this metric i can't make a filter.  
How can I display in the chart only those products for which prices have been changed?  
Data:  
productName: Bread  
Value: 20  
Data is added every day.

Big dot "Unique count" = 2, small dot "Unique count" = 1

 ![ex](https://us1.discourse-cdn.com/elastic/original/3X/c/5/c52d2b456994128b4794f9f38b91fbb9a0ac2875.jpeg)

Thanks for the help!

---

<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 7, 2019, 5:48am UTC](https://discuss.elastic.co/t/value-comparison/167381/2 "2019-03-07T05:48:37Z")

</div>

Closed on March 7, 2019, 5:48am UTC

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