YTD, QTD, MTD instructions

  • Define a time dimension table type as time.

    define dimension table
    define dimension table
  • Create a Hierarchy with the year, month, and day. Name this Hierarchy as Date-Hierarchy. Note:

    You should set the corresponding date attribute for each level. E.g., for year dimension, you should set it as the Year attribute.

define dimension attribute
define dimension attribute
  • Create a CM with the following formula:

    YTD : SUM(YTD([DATE_DIM].[Date-Hierarchy].CurrentMember), [Measures].[XXX])

    MTD : SUM(MTD([DATE_DIM].[Date-Hierarchy].CurrentMember), [Measures].[XXX])

Powered by Gitbook.            Last Modified: 2022-03-16 16:21:11

results matching ""

    No results matching ""