Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have the expression below which is showing the Same Period Last Year max month but I want it to show an accumulated figure for Same Period Last year so that it shows <= max mths total
example
Jan 2014 = 92.5
Feb 2014 = 91.8
So SPLY for Feb in 2015 should show 92.1%
any help appreciated
num(Sum({$<[Community Adult]={5,6,7,8,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,47,48,49,50,51,52,53,54,55,56,57,58},ReferredYYYY={$(#=only(ReferredYYYY)-1)},ReferredMM={$(#=Max({<[Community Adult]={5,6,7,8,9,10,11,12,13,14,15,16,19,20,21,22,23,24,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,47,48,49,50,51,52,53,54,55,56,57,58}>}ReferredMM))}>}ActualValue)/ (Sum({$<[Community Adult]={5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60},ReferredYYYY={$(#=only(ReferredYYYY)-1)},ReferredMM={$(#=Max({<[Community Adult]={5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60}>}ReferredMM))}>}ActualValue)), '##0.0%'), num(Sum({$<[Community Adult]={5,7,9,11,13,15,19,21,23,25,27,29,33,35,37,39,41,43,47,49,51,53,55,57},ReferredYYYY={$(#=only(ReferredYYYY)-1)},ReferredMM={$(#=Max({<[Community Adult]={5,7,9,11,13,15,19,21,23,25,27,29,33,35,37,39,41,43,47,49,51,53,55,57}>}ReferredMM))}>}ActualValue)/ (Sum({$<[Community Adult]={5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60},ReferredYYYY={$(#=only(ReferredYYYY)-1)},ReferredMM={$(#=Max({<[Community Adult]={5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60}>}ReferredMM))}>}ActualValue)), '##0.0%'))