# How to replace DQL dedup filter to use in Matcher DQL in Business event metric extraction

**URL:** <https://community.dynatrace.com/t/how-to-replace-dql-dedup-filter-to-use-in-matcher-dql-in-business-event-metric-extraction/49478>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed, business-events\
**Created:** [December 23, 2024, 5:05pm UTC](https://community.dynatrace.com/t/how-to-replace-dql-dedup-filter-to-use-in-matcher-dql-in-business-event-metric-extraction/49478 "2024-12-23T17:05:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpundang](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@mpundang](https://community.dynatrace.com/u/mpundang)\
**Post date:** [December 23, 2024, 5:05pm UTC](https://community.dynatrace.com/t/how-to-replace-dql-dedup-filter-to-use-in-matcher-dql-in-business-event-metric-extraction/49478/1 "2024-12-23T17:05:04Z")

</div>

Hi everybody!

I´m trying to get a Matcher DQL query grouping by trace\_id value. When I use Notebook DQL, dedup is working well. But I need to use the query updating Matcher DQL syntaxis. Dedup is not valid in metric extraction.

DQL query in a Notebook:

fetch bizevents | filter event.provider == “Api Frontend”  
| filter transaction\_status\_exitoso == false  
| dedup trace\_id

I need to add a filter instead of dedup in Matcher DQL when I create the usiness event metric:

 ![mpundang_1-1734972486354.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/e/1e933c5160087e6166ed90f65675ccbc1391a9b2.png)

---

<div class="post-metadata">

**Author:** ![Tomasz\_Wozniak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tomasz_wozniak/32/31321_2.png) [@Tomasz\_Wozniak](https://community.dynatrace.com/u/Tomasz_Wozniak)\
**Post date:** [May 19, 2025, 8:05am UTC](https://community.dynatrace.com/t/how-to-replace-dql-dedup-filter-to-use-in-matcher-dql-in-business-event-metric-extraction/49478/2 "2025-05-19T08:05:32Z")

</div>

Hi,

`OpenPipeline` is a stateless ingest solution where every ingest processor (rule) operates only on a single record.

Hence, there is unfortunately no way to deduplicate the incoming data.

Regards,

Tomasz Woźniak
