0 - 1 of 1 tags for Sum over partition by

Hi All,
I'm getting an error regarding non aggregate values when using sum over partition function. Basically, my goal is to get the total of a measured column for a particular descriptive column. i.e. 
 

SELECT

A.Dateid

A.Product Type,

A.Region,

sum(B.Revenue),