Please explain what the column on the left is for. Is that for customer names or location names or something else? Also you covered over information at the top of several columns, but I assume that represents the date or month or quarter of sales. I do not need to know what its value is, but it would be helpful to what it is a value for.
How about putting the data in a workbook and posting with your next comment?
Without that information, I can say that you will probably be using functions like CALCULATE, FILTER, HASONEVALUE, ALL, SUM and DIVIDE.