Support » Plugin: Calculated fields for ACF » Sum of a field from related posts

  • Resolved kamyarhu

    (@kamyarhu)


    I have a project post, inside it I have related post field, which is a group of related sessions (another CPT).
    Can I use the SUM() to calculate the total of a field that belongs to related objects?
    I tried sessions.duration (similar to repeater) but it didn’t work. sessions returns an array of related posts.

Viewing 1 replies (of 1 total)
  • Plugin Author wundermatics

    (@wundermatics)

    Hi,

    This is something we’ve discussed but quite honestly haven’t come up with a suitable solution for yet. To be honest, if we do find a solution it’s something I we’d put in a premium version of this plugin.

    Hope to be able to support this in the future, but right now I can’t give an estimate of when.

Viewing 1 replies (of 1 total)
  • The topic ‘Sum of a field from related posts’ is closed to new replies.