Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

relative value function

$
0
0

Hello,

 

I need to compute the difference between the current year and previous year of data.

I am using a vertical table, with a break on 2 dimensions ( Year, and Division).

 

I am able to get the correct result by using the Relative Value function as :

 

=[Total Members] - RelativeValue([Total Members];([Year]);-1)

 

However, if I add an additional column to the table that I need to use to sort by, then the calculation doesn't work. I know the Relative Value function takes the sort order into consideration but is there a work around this?

 

Thanks for any help!

 

Maria

 

sort numberYearDivisionRegionDistrictmembersdifference ([Total Members] - RelativeValue([Total Members];([Year]);-1))
12015WestCaliforniaPR102-1,002
2CaliforniaYT1717
3West435-669
42014WestCaliforniaPR1,104-34
5CaliforniaYT00
6West1,104-34

Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>