Mdx: retrieve the number of days between two different date dimensions?

In fact, what happens is that during the calculation of your calculated measure, MDX takes the default measure of your cube because you haven't specified one Also, for your 2 relative_date levels in the dimension there are no members specified in the query so the default members are taken (probably the all member). Therefore the result is always 0 A possible solution is adding the 2 relative_date levels from your dimensions as measures to the cube. Then use these new measures in your calculation.

In fact, what happens is that during the calculation of your calculated measure, MDX takes the default measure of your cube because you haven't specified one. Also, for your 2 relative_date levels in the dimension there are no members specified in the query so the default members are taken (probably the all member). Therefore the result is always 0.

A possible solution is adding the 2 relative_date levels from your dimensions as measures to the cube. Then use these new measures in your calculation.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions