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

How to Subtotal?

2 replies Last reply

  1. Hi all,

    Is there a way to get subtotals out of a list?

    I have (in the Sankey test) a list of cities with attached numbers of court cases. I want to subtotal those by city. Is there a way to do that?

    Cheers,

    Rob.

    Copy link
  2. Hi Rob,

    Yes, it's not too hard.

    Make a subnet which filters your table by a city, looks up the cases, and returns a sum. Then all you have to do is lookup a distinct list of cities and feed that into your subnet.

    Screenshot and demo network attached. The subtotals subnet can be used with any table.

    John

    Copy link
  3. Thanks John, I'll have a go at that.

    In the mean time, have a look at the Sankey diagram thread, I put a version with subtotals there. That shows the view I was going for.

    I did all of the counting outside of NodeBox, gonna try to do it with the subotals subnet next :)

    Copy link

Know something that helps?

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

Sign in to reply