The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Counting unique values in a list

3 replies Last reply

  1. Hi guys,

    Picked up Nodebox again after a 2 year intermezzo. Been working my way through the tutorials (which is going well).
    But, please, help me out with this:

    How am I able to count every unique value within a list?

    I have two lists. They both consist out of years (see attachment). I'm trying to connect the values of both lists through a line. It can only work when I'm able to count the unique values, I think.

    Thanks in advance!
    Mark

    Copy link
  2. NodeBox team

    You could try a distinct node, which filters out all double values, and
    then add a count node afterwards.

    F

    On Thu, Jan 30, 2014, at 16:18, Mark wrote:

    Copy link
  3. Hi Frederik,

    Sorry, I guess I have to refrase myself.
    I want to count the amount of appearances of one value inside a list. The amount of appearances of every - what I called - "unique" value.

    Is it possible?

    Thanx again.
    Mark

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply