How to perform math method in datagrid?

hey there people, i really need some help. I need to sum up the sales figure in my database (sql database) for each month. How do I go about doing it. The sum calculated will then be displayed in datagrid. pls help me with this!. thankx

Loader.
Up arrow icon