Statistic Card and Calculated Cell value

Hi all,
I have a table called visiteurTab, whenever a firebase query is run, it populates the table. there is also a calculated cell based on a condition for each row that works perfectly. Now the issue is I want to sum all of those calculated cells in column "paid" and display them in a statistic card. However, the column paid is not proposed and is considered as undefined? Thank you all

@mohamed_tarek_chaibi Welcome to the community :wave:

What you can do is have a query that returns the displayed data of the table, and then reference that value in the statistics component, and use _.sum to sum up the values of the calculated column. Here is how that would look like


{{_.sum(formatDataAsObject(newQuery.data).paid)}}

Hope this helps! :sunny: