© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
pathogen

Getting SUM of related table column not working

Hi all, I'm trying to get the SUM of the values on a related table column, and although I'm not getting any errors, this doesn't work with my code. The two COUNT columns work, but the two SUM columns don't. Can someone point out what I'm doing wrong? Many thanks.
CleanShot_2024-04-01_at_09.27.532x.png
CleanShot_2024-04-01_at_09.28.362x.png
Solution
Found the documentation and
trips_sum_distance
trips_sum_distance
works! Thanks for pointing me in the right direction.
Jump to solution
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 text columns, calculated values, sum of related table values.
FilamentFFilament / ❓┊help
3y ago
Custom summaries (Sum of other column)
FilamentFFilament / ❓┊help
3y ago
reorederable column in table is not working
FilamentFFilament / ❓┊help
3y ago