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

SSAS Tabular - TOTALYTD function

$
0
0

Hi,

I have the below DAX expression to calculate the YTD values for a measure in a year.

CountYTD:=TOTALYTD(SUM(Fact[Count]),Date[DateKey])

The above expression working correctly if the year starts on Jan, 01 and ends on Dec, 31.

But in my case, year starts on Apr, 01 and Ends on March, 31. When I try the same expression to calculate the YTD values, it is not showing results based on my dates. It is working based on Jan, 01 as year start date and Dec, 31 as year end date.

Any pointer to resolve the issue will be greatly appreciated!

Thanks,

N


- naveen.reddy


Viewing all articles
Browse latest Browse all 2472

Trending Articles



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