include a summary in export action

I have an export with currency values in it. I want a summary cell on the bottom with the total of all currency values. Is there a way to do this with the filament exporter.

public static function getColumns(): array
{

$convert = new CurrencyConverterService();

return [
ExportColumn::make('order_created_at')
->label('Order date'),
ExportColumn::make('increment_id')
->label('Ordernumber'),
ExportColumn::make('invoice_number'),
ExportColumn::make('company'),
ExportColumn::make('grand_total') <------------ I WANT THIS COLUMN WITH A SUMMARY ON THE BOTTOM
->formatStateUsing(fn (string $state): string => $convert->convertCentsToEuroNL($state)),
ExportColumn::make('magento_status'),
];
}
Was this page helpful?