# Flatten list problem

**URL:** <https://forum.dynamobim.com/t/flatten-list-problem/76575>\
**Category:** Lists-Logic\
**Created:** [May 15, 2022, 11:25pm UTC](https://forum.dynamobim.com/t/flatten-list-problem/76575 "2022-05-15T23:25:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tripler123](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@Tripler123](https://forum.dynamobim.com/u/Tripler123)\
**Post date:** [May 15, 2022, 11:25pm UTC](https://forum.dynamobim.com/t/flatten-list-problem/76575/1 "2022-05-15T23:25:01Z")

</div>

Hello everyone,

I have always had problems working with flatten and levels. i am struggling to generate a list. to make comparisons. Currently I have the list as shown in the image.

 ![Captura de pantalla 2022-05-15 182312](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/d/fd27b63fff00deee38b7a5abe26ab732979e42fc.png)

I would like to have the last list flattened. just focus on the last level of the list. I would like to focus on the last level of the list.

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [May 16, 2022, 12:18am UTC](https://forum.dynamobim.com/t/flatten-list-problem/76575/2 "2022-05-16T00:18:19Z")

</div>

@Tripler123 Something like this?

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

If not, please provide a sample output you are looking for.

---

<div class="post-metadata">

**Author:** ![Tripler123](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@Tripler123](https://forum.dynamobim.com/u/Tripler123)\
**Post date:** [May 16, 2022, 12:26am UTC](https://forum.dynamobim.com/t/flatten-list-problem/76575/3 "2022-05-16T00:26:07Z")

</div>

Thanks @AmolShah.
