# Problem testing Badge Query from Data Explorer

**URL:** <https://meta.discourse.org/t/problem-testing-badge-query-from-data-explorer/118568>\
**Category:** Data & reporting\
**Tags:** sql-triggered-badge\
**Created:** [24.Май.2019 00:14:35 UTC](https://meta.discourse.org/t/problem-testing-badge-query-from-data-explorer/118568 "2019-05-24T00:14:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [24.Май.2019 00:23:05 UTC](https://meta.discourse.org/t/problem-testing-badge-query-from-data-explorer/118568/2 "2019-05-24T00:23:05Z")

</div>

You will need to leave out the `AND (:backfill OR p.user_id IN (:user_ids))` condition to run the query in the [Data Explorer](https://meta.discourse.org/t/32566?silent=true). `:backfill` and `:user_ids` both expect parameters to be passed to them.

---

_[View the full topic](https://meta.discourse.org/t/problem-testing-badge-query-from-data-explorer/118568)._
