© 2026 Hedgehog Software, LLC

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

Multiple columns of same attribute

Hi,

how can I use the same attribute multiple times in a table? For example:
I have a invoice table, which has "month" and "year" as column, but the data comes from the "date" attribute of the model, just with a different format.

Thanks!
Solution
Give the column a unique name (i.e. month & year) then resolve the state with getStateUsing
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

Count same relationship in multiple columns
FilamentFFilament / ❓┊help
2y ago
Unique Multiple Columns
FilamentFFilament / ❓┊help
2y ago
unique multiple columns
FilamentFFilament / ❓┊help
3y ago
unique multiple columns
FilamentFFilament / ❓┊help
3y ago