Retrieve value based on elements with the same attribute val
Posted: Thu Jul 28, 2011 6:47 pm
Hi,
I have one dimension product, that has an attribute "Product Group" and one additional dimension "Product Group". I have 2 cubes - one for sales data (based on Product dimension) and one for product P&L which is based on "Product Group" dimension. I would like to write a rule that would retrieve the values from sales cube to my Product PL cube for specific PL line (like Revenue) grouped by Product Group. Is there a way to write a DB function that sums all the elements that have specific attribute value or is the only way to do it to have one dimension and add product group as consolidated elements of my product dimension and then reference it with standard DB functionality?
I have one dimension product, that has an attribute "Product Group" and one additional dimension "Product Group". I have 2 cubes - one for sales data (based on Product dimension) and one for product P&L which is based on "Product Group" dimension. I would like to write a rule that would retrieve the values from sales cube to my Product PL cube for specific PL line (like Revenue) grouped by Product Group. Is there a way to write a DB function that sums all the elements that have specific attribute value or is the only way to do it to have one dimension and add product group as consolidated elements of my product dimension and then reference it with standard DB functionality?