Hi,
I tried to add the 3rd row header in Pivot. The report shown on screen is correct. When I tried to export to excel, the excel file was generated successfully. But the file format contains some wrong information. It cannot be shown correctly in Excel.
I try with your example file, it comed out with the same issue.
Example: ./examples/reports/excel/pivottable/MyReport.php
I add a row "productLine" in dimensions:
    $node
    ->pipe(new Filter(array(
        array('customerName', '<', 'Au'),
        array('orderYear', '>', 2003),
    )))
    ->pipe(new Pivot(array(
        "dimensions" => array(
            "column" => "orderYear, orderQuarter",
            "row" => "customerName, productLine, productName",
        ),
        "aggregates" => array(
            "sum" => "dollar_sales",
            "count" => "dollar_sales",
        ),
    )))
    ->pipe($this->dataStore('salesPivot'));
The report shown on screen is correct. But when export to excel, the file cannot be shown correctly in Excel.
Could you please advise how I can avoid it?