Skip to Content
Former Member
Oct 30, 2009 at 11:23 AM

YTD with input month (MDX)


hi all,

i'm working with a bw universe based.

I want to add a misure in my universe that calculates the ytd for a keyFigure (KF) using MDX code.

I found the YTD() function but I need to set the "end month" using something like a @prompt because the user want to input a month.

for example:

the user input 032008

YTD: 012008......032008

can someone help me?