# Group by function don't work

**URL:** <https://forum.dynamobim.com/t/group-by-function-dont-work/9523>\
**Category:** Geometry\
**Created:** [February 10, 2017, 6:17am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523 "2017-02-10T06:17:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![A.C](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@A.C](https://forum.dynamobim.com/u/A.C)\
**Post date:** [February 10, 2017, 6:17am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/1 "2017-02-10T06:17:12Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/2/425851f823633aae6710e70b42a65dd28951aeae.png)

I want to group these points by Y value.But it did’t work.What’s wrong.Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 10, 2017, 7:10am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/2 "2017-02-10T07:10:04Z")

</div>

What did not work exactly?

---

<div class="post-metadata">

**Author:** ![A.C](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@A.C](https://forum.dynamobim.com/u/A.C)\
**Post date:** [February 10, 2017, 7:15am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/3 "2017-02-10T07:15:11Z")

</div>

As you see, except list 0 , each list just have one point. So this funtion did’t work.

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 10, 2017, 7:19am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/4 "2017-02-10T07:19:45Z")

</div>

I don’t understand what you were expecting here…

---

<div class="post-metadata">

**Author:** ![Petar\_Penchev1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/petar_penchev1/32/8592_2.png) [@Petar\_Penchev1](https://forum.dynamobim.com/u/Petar_Penchev1)\
**Post date:** [February 10, 2017, 7:27am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/5 "2017-02-10T07:27:08Z")

</div>

In your case this node will group only points with equal Y coordinates. As you can see from your screenshot in list 0 all elements has equal Y coordinates. And in every other list the points are with different Y coordinate.

---

<div class="post-metadata">

**Author:** ![A.C](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@A.C](https://forum.dynamobim.com/u/A.C)\
**Post date:** [February 10, 2017, 7:30am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/6 "2017-02-10T07:30:56Z")

</div>

I have a list of points, and I flattened this points in order to group them by their Y value. Each list have the same Y value.But only the list 0 was ture, the others just had one point.

---

<div class="post-metadata">

**Author:** ![A.C](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@A.C](https://forum.dynamobim.com/u/A.C)\
**Post date:** [February 10, 2017, 7:33am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/7 "2017-02-10T07:33:17Z")

</div>

Some of the other lists have the same Y coordinate,but them had not been group in the same list.

---

<div class="post-metadata">

**Author:** ![Petar\_Penchev1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/petar_penchev1/32/8592_2.png) [@Petar\_Penchev1](https://forum.dynamobim.com/u/Petar_Penchev1)\
**Post date:** [February 10, 2017, 7:35am UTC](https://forum.dynamobim.com/t/group-by-function-dont-work/9523/8 "2017-02-10T07:35:15Z")

</div>

> [@A.C](#):
>
> he others just had one point.

From your screenshot everything looks ok. The node works as expected. I don’t know the Y coordinates of the rest of the points.
