Returning to GH after a long time... I seem to be getting rusty!
I have a data tree which looks something like this:
{0;0} (2)
{0;1} (2)
{0;2} (2)
{0;3} (6)
{0;4} (6)
{0;5} (5)
{0;6} (5)
{0;7} (8)
I would like to group the paths based on their item count (n) values resulting in a tree which should look something like this:
{0;0} (3)
{0;1} (2)
{0;2} (2)
{0;3} (1)
in other words, all paths with 2 items are under one path, all with 6 items in another, and so on.
I feel that the pathmapper should be able to do this very easily but cannot figure out what the expression should be... I have tried searching the forum but have not had much luck!
Any ideas? Thanks a ton!
Tags: