# How to create a Dashboard for two Management Zones?

**URL:** <https://community.dynatrace.com/t/how-to-create-a-dashboard-for-two-management-zones/51229>\
**Category:** Dashboarding\
**Tags:** management-zones, data-explorer, dashboards\
**Created:** [April 15, 2025, 5:53am UTC](https://community.dynatrace.com/t/how-to-create-a-dashboard-for-two-management-zones/51229 "2025-04-15T05:53:47Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [April 15, 2025, 2:29pm UTC](https://community.dynatrace.com/t/how-to-create-a-dashboard-for-two-management-zones/51229/12 "2025-04-15T14:29:17Z")

</div>

Here’s the equivalent entity selector expression:

```javascript
builtin:synthetic.browser.failure:filter(and
(or(in("dt.entity.synthetic_test",entitySelector("type(synthetic_test),mzName(~"MZ1~")"))),(in("dt.entity.synthetic_test",entitySelector("type(synthetic_test),mzName(~"MZ2~")"))))):splitBy("dt.entity.synthetic_test"):sort(value(auto,descending)):limit(20)

```

I quick note: I do not work with the entity selector expressions too often, but the above seems to work even with the odd placement of quote and tilde (~) characters placed around the MZ names. You should be able to get this to work by just replacing MZ1 and MZ2 strings with your management zone names, while leaving all the punctuation in place.

---

_[View the full topic](https://community.dynatrace.com/t/how-to-create-a-dashboard-for-two-management-zones/51229)._
