Hello Kool Team,
Greetings.
I am performing an average on a set of values for a report I am building on school performance average.
The code I am using is:
$node_orig
->pipe(new Cube(array(
"column"=>"subject_code",
"row"=>"student_name",
"avg"=>"final_grade",
)))
->pipe(new RemoveColumn(array(
"{{all}}"
)))
->pipe($this->dataStore("student_trend"));
The report snapshot below shows the error highlighted
Performing the averages outside the koolreport framework I get the following result
Kindly assist with a working solution to that bug.
Also can I use Pivot instead of Cube to build the chart?