# How to define not condition while creating in the Dashbords.

**URL:** <https://community.dynatrace.com/t/how-to-define-not-condition-while-creating-in-the-dashbords/41322>\
**Category:** Dashboarding\
**Tags:** dashboards\
**Created:** [August 23, 2023, 10:46am UTC](https://community.dynatrace.com/t/how-to-define-not-condition-while-creating-in-the-dashbords/41322 "2023-08-23T10:46:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ratnak](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@Ratnak](https://community.dynatrace.com/u/Ratnak)\
**Post date:** [August 23, 2023, 10:46am UTC](https://community.dynatrace.com/t/how-to-define-not-condition-while-creating-in-the-dashbords/41322/1 "2023-08-23T10:46:12Z")

</div>

How to define not condition while creating in the Dashbords. my requirement is a to build a dashbord for top 50 non root file systems but i am able to create the dashboard for top 50 root file system. (how to define not condition at this place&nbsp;type(disk),entityName(~“root~”))

please find the attachment&nbsp;for your reference  
[example.txt](https://community.dynatrace.com/uploads/short-url/tUzQFdepGCOaW7zdoyFyyXqjdJ1.txt) (442 Bytes)

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [August 23, 2023, 1:39pm UTC](https://community.dynatrace.com/t/how-to-define-not-condition-while-creating-in-the-dashbords/41322/2 "2023-08-23T13:39:01Z")

</div>

Hi [@Ratnak](https://community.dynatrace.com/user/66053) , try this:

```markup
builtin:host.disk.usedPct:filter(not(in("dt.entity.disk",entitySelector("type(disk),entityName(~"/root~")")))):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(50)

```

Regards.

---

<div class="post-metadata">

**Author:** ![Ratnak](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@Ratnak](https://community.dynatrace.com/u/Ratnak)\
**Post date:** [August 24, 2023, 7:27am UTC](https://community.dynatrace.com/t/how-to-define-not-condition-while-creating-in-the-dashbords/41322/3 "2023-08-24T07:27:22Z")

</div>

Hi,

Thanks for the solution.
