Getting the total of a grid column for footer template

I have a datagrid with a column that has an int property. In the footer for that column I would like to display the sum of the ints in each row of that column and I would like this number to update when the grid is filtered. Is this possible?

Check this demo for reference:

To get the filtered data you should use View property of the DataGrid.

Oh yep, I've got it. Thanks!