© 2026 Hedgehog Software, LLC

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

How to change table query to get computed values?

I'm trying to get "total_clicks" from a computed value on my $table, but it did not apper on $record. Is there another way to change the query and get some calculated values?
image.png
image.png
Solution
You need to override
getTableQuery()
getTableQuery()
function on your resource list page
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

Computed table values
FilamentFFilament / ❓┊help
3y ago
Get table filter values
FilamentFFilament / ❓┊help
2y ago
How to get Table filters values from tables ?
FilamentFFilament / ❓┊help
3y ago
Get search value in table to add custom query to table query
FilamentFFilament / ❓┊help
3y ago