© 2026 Hedgehog Software, LLC

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

Summary with eloquent Accessor is possible ?

Hey there, I'm having some trouble summarizing a column in a price table. The prices in this column come from a custom attribute in my model (total), which is built using various columns from the database. As a result, I'm getting an error message saying that the column doesn't exist. Does anyone have any tips or tricks for how to work around this issue? Thanks!

                Tables\Columns\TextColumn::make('total')
                    ->label("Valor a pagar")
                    ->sortable()
                    ->money('BRL')
                    ->summarize(Sum::make()->label("Valor Total")),
                Tables\Columns\TextColumn::make('total')
                    ->label("Valor a pagar")
                    ->sortable()
                    ->money('BRL')
                    ->summarize(Sum::make()->label("Valor Total")),
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

Count with Eloquent
FilamentFFilament / ❓┊help
3y ago
Table with accessor content
FilamentFFilament / ❓┊help
3y ago
Eloquent Builder with relationships
FilamentFFilament / ❓┊help
3y ago