Defining the Cube Structure
This sounds a lot more complicated than it really is. This is a simple case of identifying what fields contain stuff you want to count ("measures"), and which fields contain things that you would want to anylyse these measures by ("dimensions")