# List Filter Issue

**URL:** <https://forum.dynamobim.com/t/list-filter-issue/111198>\
**Category:** Lists-Logic\
**Created:** [July 9, 2025, 4:17pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198 "2025-07-09T16:17:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cadguru42](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Cadguru42](https://forum.dynamobim.com/u/Cadguru42)\
**Post date:** [July 9, 2025, 4:17pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/1 "2025-07-09T16:17:42Z")

</div>

I’ve got a list that I want to filter out based on if a number is below a certain value. I’m sure I’m missing something simple, but it’s driving me nuts trying to get this to work. My list looks like this:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/7/d7835fbee7050648efadae6f341d35f7dd30266b.png)  
I want to remove the lists where the value of the 3rd item (numbers in blue that are station values) is greater than a certain value.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/0/8004234575923377eafe6ac98333608b61cff017.jpeg)  
This is what I’ve got going so far. I’m able to grab the stations, do a comparison for anything less than the input value and use the filter mask to remove all of the ones greater than the value I want. But how do I use this to get the overall list trimmed? I tried using the main list as the input for the filter, but I can’t get it to work properly.

I’m sure it’s a basic levels issue that I’m having trouble with. Can any of you gurus help me out?

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [July 9, 2025, 5:46pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/2 "2025-07-09T17:46:34Z")

</div>

hi

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/c/2cfe605b7dc8e93ccb94ce6eec834cef4b09ffdc.png)

edit: If list depth is a priority later

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/3/f32d6dafb4e12f1ce104976a01bb7c82b0c21d5e.png)

cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 9, 2025, 6:15pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/3 "2025-07-09T18:15:40Z")

</div>

Just use the default levels (no overrides) and you should retain list structure.

---

<div class="post-metadata">

**Author:** ![Cadguru42](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Cadguru42](https://forum.dynamobim.com/u/Cadguru42)\
**Post date:** [July 9, 2025, 7:06pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/4 "2025-07-09T19:06:13Z")

</div>

I think my problem is how the value is being passed to the comparison. In your list you used a code to get a simple list of booleans, but if you noticed on mine it provides a nested list of true/false. I am grabbing the end station of a C3D view frame to get the value of 53700 as the test condition as the Y value. The X is coming from the station list. However, if I use no levels from that list the less than node only gives 1 value. I had to use a list of @1 to get it to compare to each record.

Maybe I need to simplify the comparison list so it’s not nested before passing to the filter?

---

<div class="post-metadata">

**Author:** ![Cadguru42](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@Cadguru42](https://forum.dynamobim.com/u/Cadguru42)\
**Post date:** [July 9, 2025, 7:22pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/5 "2025-07-09T19:22:15Z")

</div>

I got it to work with some tweaks using your example! First, I flattened the comparison node list of booleans & removed the levels from the mask filter input. Then I changed the filter input list to level @3 like you showed and it worked!

However, after I did all that I realized that the people who made the view frames didn’t update their last frame properly, so the station value was too high. I switched it to a manual number, which means I could get rid of the flattened comparison input and it results in this:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/5/258687f323ded2f1ffb255796d94d8f6d19a27b7.jpeg)

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 14, 2025, 3:49pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/6 "2025-07-14T15:49:25Z")

</div>

Your list levels are still a little messy. The main issue is that the value you’re comparing (53600) was originally in a list. You need to reduce that to a single value so that the levels work out. You’ve done that in the example above, but now you’re filtering `@L3` (even though your list is already at `L3`) which is actually _adding_ another layer of lists to your output. With the correct list structures you don’t actually need any additional list level controls.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/f/ff0d9afa40889d3f830f25fcf141afde0cc77a4c.png)

---

<div class="post-metadata">

**Author:** ![abdullahcicek](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@abdullahcicek](https://forum.dynamobim.com/u/abdullahcicek)\
**Post date:** [December 23, 2025, 1:58pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/7 "2025-12-23T13:58:10Z")

</div>

```auto
I've been away from Dynamo for a long time...
I want the assemblies in the second list to be added. How should I do it?

```

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/9/49cc47989e329ec65d39807a14e2b1578446d4a3.jpeg)

---

<div class="post-metadata">

**Author:** ![abdullahcicek](https://avatars.discourse-cdn.com/v4/letter/a/dfb087/32.png) [@abdullahcicek](https://forum.dynamobim.com/u/abdullahcicek)\
**Post date:** [December 27, 2025, 7:59pm UTC](https://forum.dynamobim.com/t/list-filter-issue/111198/8 "2025-12-27T19:59:10Z")

</div>

@abdullahcicek

```auto
 problem solved....

```

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/0/4054759690134a3278deb3a81b8716bf13d4bd69.jpeg)
