PALO.DATA.SUM: does it work in a rule?

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • PALO.DATA.SUM: does it work in a rule?

      I can get it to work with the webspreadsheet using a formula like this:


      =PALO.DATA.SUM("localhost/testdb","cube",PALO.COORD("2012","elem1","elem2","elem3","elem4","elem5"),palo.expandtype(1,1))

      But when I try to do something like this:

      ['elem3','elem5'] = PALO.DATA.SUM("localhost/testdb","cube",PALO.COORD("2012","elem1","elem2","elem3","elem4","elem5"),PALO.EXPANDTYPE(1,1))


      I get the following error in the olap_server.log:


      2013-03-05 14:37:34 WARNING: error code: 8001 description: parse error in rule message: unknown function 'palo.data.sum'

      I noticed that there are no examples in the PHP/sample/ResourceId directories that call this API...