Hello,
This is the View code for my report.
I even added the measures and nameMap still my report doesn't show the title.
PivotTable::create(array(
"dataStore"=>$dataStore,
"rowDimension"=>"row",
"columnDimension"=>"column",
"measures"=>array(
"prod_tot - sum",
'prod_tot - count',
),
'rowSort' => array(
'prod_tot - count' => 'desc',
),
'columnSort' => array(
'created_month' => function($a, $b) {
return (int)$a < (int)$b;
},
),
'rowCollapseLevels' => array(0),
'columnCollapseLevels' => array(0),
'width' => '100%',
'nameMap' => array(
'prod_tot - sum' => 'Sales (in SGD)',
'prod_tot - count' => 'Number of Transaction',
),
));
Please help thanks.