Hi,
With an empty pivot table, I get this error
Undefined array key "field1"
When using the row dimensions
->pipe(new Pivot(array(
'dimensions'=>array(
"column"=>"field3",
'row'=>'field1, field2'
),
'aggregates'=>array(
'count'=>'field4'
)
)))
Works ok when query returns data
I did find a related topic https://www.koolreport.com/forum/topics/268 Is a similar solution needed?