Search code examples
ssasmdx

MDX running total by month


I'm trying to calculate cumulative transactions counts by month within quarter using MDX. How can I achieve this.

Image of result to be achieved.


Solution

  • Assuming you have a proper date dimension set up, you can use the QTD() function to accomplish this.