Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8491

Re: Create a custom YTD measure in which the year fiscal begins APRIL N -> MARS N+1

$
0
0

Hi all,

 

 

I have tried a small test with this code for my Custom YTD measure for Periodic Application

 

 

 

'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",

SUM([%TIME%].CURRENTMEMBER.LAG(IFF([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/ATPR1YN")="1",1,0)):[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA])';SOLVE_ORDER=3

 

Note : "2/CPMB/ATPR1YN" is the technical name of a propertie which matchs to MONTHNUMFY

 

I have the error message in the following :

MDX statement error - %22An exception has occured %22.png

 

 

 

Does someone have any idea for my issue ?

 

Thank you in advance.

 

 

Regards,

 

Son-Trong DINH


Viewing all articles
Browse latest Browse all 8491

Trending Articles



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