Hi,
I have two cubes which are the same structure, one contains historical data (2004-2006) and the other is current (2007) Using some MDX I try to return OB and CB figures:
WITH
MEMBER
[Measures].[FNEEnr]
AS
'CoalesceEmpty((Measures.[Enrolled], [INSERT DATE BY YWD].CurrentMember ) ,
(Measures.[FNEEnr],[INSERT DATE BY YWD].CurrentMember.NextMember))'
MEMBER
[Measures].[FNeOB]
AS
'([Measures].[FNEEnr], OpeningPeriod([INSERT DATE BY YWD].[Day]) )'
select
{[Measures].[FNEEnr] ,
[Measures].[FNeOB]} ON COLUMNS,
{DESCENDANTS([INSERT DATE BY YWD].[Year].&[2004])} ON ROWS
from [Historical_CUBE]
(code the same for [Current_CUBE])
However for the hist cube the query does not work/return the data: (<> donates no data in cell)
FNEEnr FNeOB
2004 70000 <>
Week32 <> <>
1 <> <>
2 <> <>
etc
However for the current_CUBE it returns:
FNEEnr FNeOB
2004 20000 12000
Week32 18000 12000
1 12000 12000
2 12000 12000
etc
Any ideas would be greatlly appreciated
Cheers
I have two cubes which are the same structure, one contains historical data (2004-2006) and the other is current (2007) Using some MDX I try to return OB and CB figures:
WITH
MEMBER
[Measures].[FNEEnr]
AS
'CoalesceEmpty((Measures.[Enrolled], [INSERT DATE BY YWD].CurrentMember ) ,
(Measures.[FNEEnr],[INSERT DATE BY YWD].CurrentMember.NextMember))'
MEMBER
[Measures].[FNeOB]
AS
'([Measures].[FNEEnr], OpeningPeriod([INSERT DATE BY YWD].[Day]) )'
select
{[Measures].[FNEEnr] ,
[Measures].[FNeOB]} ON COLUMNS,
{DESCENDANTS([INSERT DATE BY YWD].[Year].&[2004])} ON ROWS
from [Historical_CUBE]
(code the same for [Current_CUBE])
However for the hist cube the query does not work/return the data: (<> donates no data in cell)
FNEEnr FNeOB
2004 70000 <>
Week32 <> <>
1 <> <>
2 <> <>
etc
However for the current_CUBE it returns:
FNEEnr FNeOB
2004 20000 12000
Week32 18000 12000
1 12000 12000
2 12000 12000
etc
Any ideas would be greatlly appreciated
Cheers