Giving Average when Collapsed,actual values when Expanded?

  • I am trying to display the unEmployment rates for a particular state based on the Time Dimension. The months are "hidden" till the quarter is expanded. Now,the value i need to display while the Quarters are collapsed is the AVERAGE unemployment rate for the 3 months in that particular quarter..If i try to enter the expression ,

    =Sum(Fields!Measures_Un_Employment_Rate.Value)/3

    it displays the average correctly but when i expand it,the values for individual months are also divided by 3 hence giving the wrong value...if i use the expression...

    =First(Fields!Measures_Un_Employment_Rate.Value)

    it displays the values for individual months correctly,but when the quarters are collapsed, it displays the value for the first month of that quarter and not the average...

    is there any way around this problem?

     

    thanx!

  • ooops...i didnt know that there was a keyword by the name of Avg

    =Avg(Fields!Measures_Un_Employment_Rate.Value)

    did it for me..  just posting it here so that anyone else facing this problem might benefit...

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply