cube - MDX SSAS - Max Date in Measure -


just need max date in measures in cube. instance, dateid dimention, [measure].[first measure],...,...,[second measure].

how list of max(dateid) measures in cube.

the following max date value associated each measure...but have manually create calculated member corresponding each measure.

with     member [measures].[max date - internet sales amount]         tail(             nonempty(                 [date].[date].[date]                 ,[measures].[internet sales amount]             )             ,1         ).item(0).membervalue     member [measures].[max date - reseller sales amount]         tail(             nonempty(                 [date].[date].[date]                 ,[measures].[reseller sales amount]             )             ,1         ).item(0).membervalue select     {         [measures].[max date - internet sales amount],         [measures].[max date - reseller sales amount]     } on 0     [adventure works] 

if want single max date across measures in cube, you'll need take different approach.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -