Using ATTRS function for two attributes
Posted: Tue May 07, 2013 8:50 pm
Hello Everyone,
I am building a RULE that I need to pull two attributes from one dimension. Essentially I am trying to obtain the sales for IO Fast Moving in a Product hierarchy that has Parts as one of the attribute members (belongs to Category attribute) and Fast Moving attribute member (belongs to Discount Sales Type attribute).
My code is below, but can you actually write an ATTRS within another ATTRS?
['Original' , 'Planning Division' , 'IO Fast moving'] = N: DB('PACMonthlyMargin', !View, !Version, !ManagementEntity, !Channel, !Currency, !Region, !ProductLine, 'IO', !PACProductCategory , 'Gross Sales excl Warranty and Returns', !MonthYearFiscal, 'Value');
thanks
Hiten
I am building a RULE that I need to pull two attributes from one dimension. Essentially I am trying to obtain the sales for IO Fast Moving in a Product hierarchy that has Parts as one of the attribute members (belongs to Category attribute) and Fast Moving attribute member (belongs to Discount Sales Type attribute).
My code is below, but can you actually write an ATTRS within another ATTRS?
['Original' , 'Planning Division' , 'IO Fast moving'] = N: DB('PACMonthlyMargin', !View, !Version, !ManagementEntity, !Channel, !Currency, !Region, !ProductLine, 'IO', !PACProductCategory , 'Gross Sales excl Warranty and Returns', !MonthYearFiscal, 'Value');
thanks
Hiten