© 2026 Hedgehog Software, LLC

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

Computed table values

I want add something in my table that is a computed value from multiple model fields. Is this possible without a model attribute?
Solution
You can use ...

->formatStateUsing(fn (string $state, Model $record) => // )
->formatStateUsing(fn (string $state, Model $record) => // )


... although this won't be searchable (or at least, attributes from other fields won't be).
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

How to change table query to get computed values?
FilamentFFilament / ❓┊help
3y ago
Custom Table Values
FilamentFFilament / ❓┊help
17mo ago
Computed Property Filter On Table Builder?
FilamentFFilament / ❓┊help
2y ago
Get table filter values
FilamentFFilament / ❓┊help
2y ago