© 2026 Hedgehog Software, LLC

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

Make additional column in table based from the sum of two other columns?

Hi, is there a nicer way to make an additional column in a table which is based of the sum of two other columns? The idea for this is so I can then use this column as a summary, and to be sortable etc.

I haven't had much luck. I've got as far as overriding the query, which allows me to create the column, but since this column doesn't exist in the database it can't be used to be sorted nor summarized.
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

Sum of fee column in table footer
FilamentFFilament / ❓┊help
3y ago
Custom summaries (Sum of other column)
FilamentFFilament / ❓┊help
3y ago
two columns from a single database column
FilamentFFilament / ❓┊help
2y ago
How to show in a column from table sum from relationship
FilamentFFilament / ❓┊help
3y ago