S
Sates
i have time dimension. Its level year-month.
I show current year's month on column
script code:
DataAxis.InsertTotal(Totals("Sales"));
DataAxis.Totals("Sales").NumberFormat = "#,##0"
ColumnAxis.InsertFieldSet(FieldSets("TimeDimension"));
ColumnAxis.FieldSets("TimeDimension").Fields("Year").Expanded = true;
ColumnAxis.FieldSets("TimeDimension").Fields("Year").IncludedMembers =
"2005";
i want to show previous year sales another column like this
January February March April
May
2005 2004 2005 2004 2005 2004 2005 2004 2005 2004
745 900 800 700 600 545 754 845 457
454
is tehere any wat to do this.
i was thinking of using calculated field but i could just show total
previous year sales on calculated field.
([measures].[Sales], [TimeDimension].[All].[2004])
I show current year's month on column
script code:
DataAxis.InsertTotal(Totals("Sales"));
DataAxis.Totals("Sales").NumberFormat = "#,##0"
ColumnAxis.InsertFieldSet(FieldSets("TimeDimension"));
ColumnAxis.FieldSets("TimeDimension").Fields("Year").Expanded = true;
ColumnAxis.FieldSets("TimeDimension").Fields("Year").IncludedMembers =
"2005";
i want to show previous year sales another column like this
January February March April
May
2005 2004 2005 2004 2005 2004 2005 2004 2005 2004
745 900 800 700 600 545 754 845 457
454
is tehere any wat to do this.
i was thinking of using calculated field but i could just show total
previous year sales on calculated field.
([measures].[Sales], [TimeDimension].[All].[2004])