Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Calculating Days

$
0
0

Can anyone help me in the following :

createmember currentcube.measures.dsotest as
([Dim Account Master Fin v01].[Short Name Grp].currentmember, measures.ar_inr_cr) / ([Dim Account Master Fin v01].[Short Name Grp].[parent], measures.avgdailysales),
Format_String = 'Currency';
select dsotest on columns
{descendants([Date Dimension].[cMonth_H].[c year].[2012]) 
 * descendants([Dim Account Master Fin v01].[Short Name Grp]) 
} ON rows
FROM [eMIS_KEC_AR]

the above gives me a syntax error as follows :

Executing the query ...
Query (1, 14) Parser: The syntax for 'currentcube' is incorrect.
Execution complete

Any help will be highly appreciated

sanjay shah

pune, india


Viewing all articles
Browse latest Browse all 2472

Trending Articles



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