
I have a cube called Sales_Margins dimensioned by Months, Countries, Versions, Products and a measure called Sales_Margins. One item in the Sales_Margins dimension is called Volume.
I want to pass data the volumes data into another cube called BuyerVolumes that is a dimensioned by Months, Versions(as in the Sales_Margins cube) and Buyers.
I have created an attribute on Products dimension called Buyer and populated it with the buyers names (eg products A,B,C belong to Jim, D,E,F belong to Bob etc)
My Rule in BuyerVolumes looks like;
[]=N:DB('Sales_Margins','COUNTRIES TOTAL',ATTRS('Products',!Products,'Buyer'),!Months,!Versions),'Volume');
I get a syntax error around the Products bit.


I know I could have the buyers in the products dimension as a hierarchy but that would be too easy.