Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
If Year is 2017, we should have full year sales else we should get only dec month sales for any other year selected.
Thanks in Advance.
if( Year = 2017 , SUM({<Year={2017}>} SALES)
,SUM({<Month={12}>} SALES)
)
May be this
RangeSum(
Sum({<Year = {$(=Year(Today()))}>}Measure),
Sum({<Year = {$(='<' & Year(Today()))}, Month = {'Dec'}>}Measure)
)