Counting Number of Relationships

Answered

Comments

4 comments

  • Andreas Garnæs

    Hi Matthew,

    If you link leads to marketing campaigns, then you can simply add a calculation field to the marketing campaigns app to get a count of the related leads. Assuming there's a "Name" field on leads, the calculation needs to be something like this "@All of Name.length".

    Does that help?

    Best,
    Andreas

    1
    Comment actions Permalink
  • Matthew Manus

    Thanks Andreas, that was just what I was trying to accomplish!

    0
    Comment actions Permalink
  • Maciej Michalak

    Im trying to do the same thing and i have my leads associated with my campaign but when I try the @All of Name I get an error

    "The script returned an unsupported result type"

    0
    Comment actions Permalink
  • Andreas Garnæs

    Hi Maciej, your script needs to look like this: "@All of Name.length" -- it sounds like the ".length" could be missing?

    1
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk