Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

YTD and Previous YTD in MDX query

$
0
0

Hi All,

I have two parameters Start Date and End Date. when i select the values of start date  as 5th jan 2014 and End Date as 13 th Jan 2014, i want to see the Count of Tickets from 5th Jan 2014 till 13th Jan 2014 as YTD Count of Tickets and Count of Tickets from 5th Jan 2013 till 13th Jan 2013 as PYTD Count of Tickets. The date range is user specific and is dynamic. I have used cube to create SSRS reports.

Could anyone please tell me how i can pass the selected dates to the query and get YTD and PYTD values?

Thanks

Syed Faiz


SFH



Viewing all articles
Browse latest Browse all 14337

Trending Articles



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