Table Summarize value based on state
I have a table column called cost, I've added a summarize attributes. How can I summarize all value based on state value?
Currently, the summarize value is based on the original data from database. I want it to be from ->state value
Solution:Jump to solution
You could try a custom model property and add that to a new column? Or maybe add a column in the table and adjust it with ->formatStateUsing(function() { })
7 Replies
Temporarily, I will add a new column for this.
Solution
You could try a custom model property and add that to a new column? Or maybe add a column in the table and adjust it with ->formatStateUsing(function() { })
I will make it a try about the custom model property like the append does. if its not, new table column wil be better 🙂
Table column meaning database table column?
or filament table?
$appends is working!
Perfect!
I'd say check this thread as solved then
Don't worry, I always did that. thanks