Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

MDX Conteggio nel tempo (anni - non entro un anno)

In MDX qualcosa lungo la linea:

with member [x] as sum( 
    [Date Dim].[CY Hierarchy].[Calendar Year].members(0) : [Date Dim].[CY Hierarchy].currentMember,
    [Measures].[Commitment Count] 
)

select [x] on 0, [Date Dim].[CY Hierarchy].[Calendar Year] on 1 from [Cube]