Hi, I am currently trying to export PivotTable to Excel and the PivotTable has computated column like the following:
->pipe(new Pivot([
"dimensions" => [
"row" => 'A',
"column" => [
"B",
"C" => [
"computations" => [
"D" => function ($aggRow, $measure) {
...
}
]
],
"E"
],
],
"aggregates" => [
"sum" => "F"
],
]))
The above PivotTable shows computated column fine in a report. However, once the report gets exported to excel, it somehow misses column 'D' which is computated.
Can we display computated column in exported excel?
Thank you :)