0

I am trying to build a Measure using MDX that is equivalent to the following Power BI DAX calculation:

CALCULATE(
  [Total Orders],
  'Calendar Dimension'[LAST_WEEK_FLAG]=“1"
)
whytheq
  • 34,466
  • 65
  • 172
  • 267

1 Answers1

0

In MDX it would likely be a new measure, that is a tuple of the specified measure and member - so something like the following. The braces are the MDX syntax for a tuple:

(
  [Measures].[Total Orders],
  [Calendar Dimension].[LAST_WEEK_FLAG].[1]
)
whytheq
  • 34,466
  • 65
  • 172
  • 267