# Remove blank values

**URL:** <https://forum.dynamobim.com/t/remove-blank-values/3484>\
**Category:** Packages\
**Created:** [March 18, 2016, 3:40pm UTC](https://forum.dynamobim.com/t/remove-blank-values/3484 "2016-03-18T15:40:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Cameron](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ryan_cameron/32/9077_2.png) [@Ryan\_Cameron](https://forum.dynamobim.com/u/Ryan_Cameron)\
**Post date:** [March 18, 2016, 3:40pm UTC](https://forum.dynamobim.com/t/remove-blank-values/3484/1 "2016-03-18T15:40:22Z")

</div>

&nbsp;

So here’s probably an easy one. Is there a way to remove blank values from a list? Not “nulls”. The point is to filter only new construction “Phase 2” and get rid of the “Existing” rooms.

![filter](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/a/a7bbc4b8ed8483290d7b3ec002e259502d992228.jpg)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Steven](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/steven/32/112504_2.png) [@Steven](https://forum.dynamobim.com/u/Steven)\
**Post date:** [March 18, 2016, 4:40pm UTC](https://forum.dynamobim.com/t/remove-blank-values/3484/2 "2016-03-18T16:40:17Z")

</div>

&nbsp;

&nbsp;

Ryan,

I am not sure you list is empty. It looks like those indexes are just blank. ether way see image below to solve your problem. Probably can be done differently but that whats I came up with. Hope it helps.

&nbsp;

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/a/aeadfe28fb189315e8cc1903d0155efeb1e82349.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 19, 2016, 12:57am UTC](https://forum.dynamobim.com/t/remove-blank-values/3484/3 "2016-03-19T00:57:51Z")

</div>

Hi Ryan,

It happens if the parameter doesn’t have any values. You can use filter by “List.ContainsItem” to remove values which are not assigned. Good Luck!

 ![Untitled](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/9/91e55f29c8a089cd6081e31b45467dcac44f4d43.png)

&nbsp;

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [March 19, 2016, 4:47am UTC](https://forum.dynamobim.com/t/remove-blank-values/3484/4 "2016-03-19T04:47:19Z")

</div>

The “!=” node (or does not equal) might be a better approach:

 ![Revit_2016-03-19_18-13-48](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/4/47bc4d12a02a5c63201f19afa69b96bd62631706.png)

---

<div class="post-metadata">

**Author:** ![Ryan\_Cameron](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ryan_cameron/32/9077_2.png) [@Ryan\_Cameron](https://forum.dynamobim.com/u/Ryan_Cameron)\
**Post date:** [March 21, 2016, 9:18am UTC](https://forum.dynamobim.com/t/remove-blank-values/3484/5 "2016-03-21T09:18:23Z")

</div>

Yeah, I meant blank values. I’d prefer to completely remove the existing rooms, so it looks like that is the way to go. Thanks fella’s!
