© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
alexanderkroneis

Can we summarize using Sushi?

Hi,

can we summarize a table when using Sushi?

When I add

<?php

Tables\Columns\TextColumn::make('revenue')
    ->label(__('Umsatz'))
    ->money('EUR')
    ->sortable()
    ->toggleable()
    ->summarize([
        Tables\Columns\Summarizers\Sum::make(),
    ]),
<?php

Tables\Columns\TextColumn::make('revenue')
    ->label(__('Umsatz'))
    ->money('EUR')
    ->sortable()
    ->toggleable()
    ->summarize([
        Tables\Columns\Summarizers\Sum::make(),
    ]),


I get this error: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '":memory:"."booking_statistics") as
booking_statistics
booking_statistics
' at line 1
Flare
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '":memory:"."booking_statistics") as
booking_statistics
booking_statistics
' at line 1 (Connection: mysql, SQL: select sum(booking_statistics.revenue) as "8U9j4PjzPdfhM8xS" fr...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Sushi and Summarize()
FilamentFFilament / ❓┊help
3y ago
Summarize with using() yields TypeError
FilamentFFilament / ❓┊help
3y ago
Calculate summarize from others summarize
FilamentFFilament / ❓┊help
2y ago
Sushi + table search
FilamentFFilament / ❓┊help
2y ago