Hello Team, Please how do I set the {initvalue} to a variable called grade which is part of the datastore so I can concatenate it with the {appValue} ? so as to show both the final
$node_orig->pipe(new Pivot(array(
"dimensions"=>array(
"column"=>"ay_term,subject_name",
"row"=>"class_system,name_string ",
),
"aggregates"=>array(
"myAgg"=>"final_mark,grade",
),
"customAggregates" => [
"myAgg" => [
"{initValue}" => "",
"{aggValue}" => function($aggValue, $value) {
$newAggValue = $aggValue.$value;
return $newAggValue;
},
]
],