Report Portal

YTD Based on Current System Date (Now() Function), based on same date pulling value for Last Year too

with member [Date].[Calendar].[currentyear] as aggregate(ytd((strtomember("[Date].[Calendar].[Date].&["+format(now(),"yyyyMMdd")+"]"))))

member [Date].[Calendar].[prevyear] as aggregate(ytd(parallelperiod([Date].[Calendar].[Calendar Year] ,1,(strtomember("[Date].[Calendar].[Date].&["+format(now(),"yyyyMMdd")+"]")))))

select

Read more...

 

Tags: mdx

 

2007-2015 VidasSoft Systems Inc.