English 中文(简体)
表二.1
原标题:Sum an IIF in MDX
  • 时间:2012-04-25 14:34:42
  •  标签:
  • ssas
  • mdx

是否可能在MDX中分摊国际不动产业联合会的统计资料?

这方面的一个例子是我试图做的事情:

With
Member [dim something].[group].[Summed] as
Sum(
iif( [dim something].[date one] = [dim date].[specific date],1,0)
   )

Select  [dim something].[group].[summed] on 0,
        [dim date].[specific date].members on 1

From    [Cube]

我知道这并不奏效,只是试图表明我正在努力做的事情。 我想根据这一条件评估一个条件,并将一个或一个零点退回。 之后,数额或算出返回时的天数为1

从QL结构的角度来看,对MDX的较新情况非常不同。

最佳回答

传真:

SELECT [Measures].[Some count] on 0
FROM [CUBE]
WHERE [dim date].[specific date]
问题回答

很难知道你真的想要什么,但是,在SSAS上有一些 m子功能,以根据日期来总结价值。

主要的是青年发展协会:

Sum(YTD([Dimension].[Calendar].CurrentMember),[Measures].[summed])




相关问题
In SSAS, can parent-child DATAMEMBER name be customised

In a parent-child dimension in SSAS, the datamember is automatically named the same as the parent. E.g. Division X Risk Register Division X Risk Register Department A Risk Register Department B ...

Adding a Total column to MDX

I have the following query that gives me an extract (I am putting this into a CSV from my cube). I want to show the Total of all NRx in a column as the first column NRx and the rest of the NRx ...

using colors in calculated member

Im using this query in MDX for a calculate measure topcount(nonempty([StatusPlanes].[Status].Status.members,[Measures].[Planes]),1)(0).member_caption this will bring me this result Dimension1 ...

Using colors with MDX calculated measure

I m using this query in MDX for a calculated measure topcount(nonempty([StatusPlanes].[Status].Status.members,[Measures].[Planes]),1)(0).member_caption This will bring me this result Dimension1 ...

Calculated Member for Cumulative Sum

First some background: I have the typical Date dimension (similar to the one in the Adventure Works cube) and an Account dimension. In my fact table I have daily transaction amounts for the accounts. ...

What is MDX and what is its use in SAP BPC

I would like to know more about "MDX" (Multidimensional Expressions). What is it? What is it used for? Why would you use it? Is it better than SQL? What is its use in SAP BPS (I haven t seen BPC, ...

热门标签