dashboard stats question

I am trying to figure out a way to setup a dashboard where I can show total costs (sum) to be shown up based on budget code column there are 10 separate entries in budget code column does anyone have idea on how this can be accomplished; I am beginner and trying to learn more about it.

Answers