KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Undefined index: {{all}} #2204

Open Rohit Savaliya opened this topic on on Jul 13, 2021 - 1 comments

Rohit Savaliya commented on Jul 13, 2021

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.

Sebastian Morales commented on Jul 13, 2021

Pls update to the latest Pivot package version 8.0.0 to fix this issue. Tks,

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None