Hi,
We are trying to create this view: Actorrole T12-011 T12-012 T12-013 A12-011 U U A12-001 ex in A12-013 in, ex
from this table:
Actorrole Link Transaction A12-011 U T12-011 A12-001 in T12-012 A12-013 in,ex T12-013 A12-011 U T12-012 A12-001 ex T12-011
with this code in the setup node: $query="SELECT * FROM joomla02.vw_bat";
$node = $this->src("Test1")
->query($query);
$node->pipe(new Cube(array(
"row" => "Actorrole",
"column" => "Transaction",
"sum" => "Link"
)))->saveTo($node2);
$node2->pipe($this->dataStore('data'));
And sum gives only 0 in the matrix, but we need the string value. What needs to be changed to achieve this result?