While generating report using pivot we are facing this error Undefined index: {{all}} - 325 for more information in attach screenshot

here is my code for the same
$node = $this->src("mysql")->query($Query)
->pipe(new Pivot(array(
    "dimensions"=>array(
		"column" => "total_quantity,total_value",
        "row" => "users_zone_c, address_state, CSCName, title, matrial_code",
    ),
    "aggregates"=>array(
        "sum" => "total_quantity,total_value",
    ),
)))
->pipe($this->dataStore('StockDetails'));
Please help us to fix this issue.