Previous Members
Posted: Fri May 17, 2013 2:44 pm
Hi people, i need your advice
This is the situation
I have a Date Dimension with 4 levels. This is the structure Year->Quarter->Month-> Day and i have a measure called Rolling Year Sales= Sales to the previous 12 months. I get you an example
suppose that the current date is 2013-05-10, then the Rolling Year Sales is the sum of Sales for this months: April 13, March 13, Feb 13, Jan 13, Dec 12, Nov 12, Oct 12, Sep 12, Aug 12, Jul 12, Jun 12, May 12 .
Then i tried to use the functions DIMIX and DIMNM to move between its members BUT these functions works with index, then my months are consolidated elements and their index aren't consecutive . Example Feb 13 has index 57 and March 89, then i dont know how to do! I need to move between these months to sum sales their Sales.
Any suggestion !
Sorry for my english grammar
Thanks in advance
This is the situation
I have a Date Dimension with 4 levels. This is the structure Year->Quarter->Month-> Day and i have a measure called Rolling Year Sales= Sales to the previous 12 months. I get you an example
suppose that the current date is 2013-05-10, then the Rolling Year Sales is the sum of Sales for this months: April 13, March 13, Feb 13, Jan 13, Dec 12, Nov 12, Oct 12, Sep 12, Aug 12, Jul 12, Jun 12, May 12 .
Then i tried to use the functions DIMIX and DIMNM to move between its members BUT these functions works with index, then my months are consolidated elements and their index aren't consecutive . Example Feb 13 has index 57 and March 89, then i dont know how to do! I need to move between these months to sum sales their Sales.
Any suggestion !
Sorry for my english grammar
Thanks in advance