Issue with getting calculations and categories to work together

Comments

2 comments

  • Matt Werner

    Nevemind this, Globiflow has solved all my issues.

    0
    Comment actions Permalink
  • Rainer Grabowski (FVM)

    Hi Matt,

    the solution for the Podio calculation field is:

    var packet = @All of Completed Packet;
    
    var packetYes = [];
    for(var i = 0; i < packet.length;i++){
    if(packet(i) == "Yes"){
    packetYes.push(packet[i](;
    }
    };
    
    var packetNo = [];
    for(var i = 0; i < packet.length;i++){
    if(packet(i) == "No"){
    packetNo.push(packet[i](;
    }
    };
    
    "**Yes-Packets:** \n" + 
     packetYes.join("\n") + "\n\n" +
    "**No-Packets:** \n" + 
    packetNo.join("\n") 
    

    The result is list like:
    Yes-Packets:
    A
    B
    C

    No-Packets:
    D
    E
    F

    If you wrap a string in double asterisks the sring will become bold (one asterisk before and after string = italic; thats markdown syntax whiich is supported by Podio in calculation fields, but also in chat, comments and app description, more here: http://daringfireball.net/projects/markdown/syntax#html

    \n indicates a line break.

    Rainer
    rg@delos-consulting.com

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk