Summary Sum() of 2 fields
Is there a way to add a summary sum of 2 columns from the database? I have an accessor for that, but
Sum()
doesn't work with that name.
Thanks!Solution:Jump to solution
Does this help at all? https://discord.com/channels/883083792112300104/1163779367843942461
4 Replies
Are you using a standard Filament table? If so, you could define a TextColumn and use
->default()
to set the value to whatever you need it to beI need to display the sum of 2 columns, and on the bottom a summary of those 2 columns added together
Solution
Does this help at all? https://discord.com/channels/883083792112300104/1163779367843942461
Yes, it helped. Thank you!