Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

MDX First and Last day Dynamically

$
0
0

Hi Experts,

I am working on SSRS Report with SSAS as my Source.
I have a "Date" Filter on the Top on the base of which I View my Report.

Requirement:
I need Two Column in my SSRS Report which Shows 1st Day and Last Day of the Date Value Selected from Filter  Example ::

If I  select November 2011 from Date Filter
My SSRS Report Should Be
1st DAY                           Last Day    
1-November-2011          30-November-2011

=========================================

If I  select Q1 2011 from Date Filter
My SSRS Report Should Be
1st DAY                           Last Day    
1-April-2011          30-June-2011
==========================================

If I  select  2011 from Date Filter
My SSRS Report Should Be
1st DAY                           Last Day    
1-April-2011          31-March-2011
=========================================

My Date Dimension Hierarchy in Cube is

[Date].[FiscalHierarchy].[FYYear]

[Date].[FiscalHierarchy].[FYSemester]

[Date].[FiscalHierarchy].[FYQuarter]

[Date].[FiscalHierarchy].[FYMonth]

Any Help in achieving above requirement?

NOTE:: We can Take 1st and last Day(Date)  coming in Report Column  in any Standard Format .




Viewing all articles
Browse latest Browse all 2472

Trending Articles



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