Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Time interval

$
0
0

I am currently trying to do a time interval with the cube function but I can't quite seem to make it work. What I want it to do is to give a value between the 1st of january and the 1st of july.

Here is what I have so far:

Cubevalue("Targit";"([Period].[Y.Q.M.D].[All].&[2013-01-01] : [Period].[Y.Q.M.D].[All].&[2013-07-01])")

After this comes the values that I need to find, can anyone tell me where I go wrong with the time period here? I need the value from the start of the year to that date.


Viewing all articles
Browse latest Browse all 14337

Trending Articles



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