I am attempting to create a dynamic YTD column in my crosstab, but the issue I am running into is the fact that for my MDX command periodsToDate I have to pull members from two different hierarchies.
Here is the expression I am working with:
I have been trying to figure out how to manipulate that last part of the function to allow the member value from the other hierarchy without it knowing it is from there.
I thought it may be possible to create a data item that can be used for the 2nd part of the periodsToDate argument...and this would actually be a member from the 1st hierarchy that matches the member from the 2nd...so that this way the periodsToDate function will not error off since they will be in the same hierarchy??
Any suggestions?
Here is the expression I am working with:
Code:
periodsToDate([Fiscal Year],#prompt('pClosingMonth','token',[Last Closed Fiscal Mo YTD]')#)
I have been trying to figure out how to manipulate that last part of the function to allow the member value from the other hierarchy without it knowing it is from there.
I thought it may be possible to create a data item that can be used for the 2nd part of the periodsToDate argument...and this would actually be a member from the 1st hierarchy that matches the member from the 2nd...so that this way the periodsToDate function will not error off since they will be in the same hierarchy??
Any suggestions?