Hi,
I need to create a MDX query to count the number of quarters that have values.
The criteria is the following as is shown in the picture below:
1. for a company and a currency code
2. get the last 8 quarters, the criteria need to select from the last quarter with a value and backwards. As the example below, the selection start from 2012Q3 to 2010Q4
4. from the set result, count the number of quarters with values. based on the example below, the result should be 4
I have tried some queries but I cannot get the right count. I hope that some one can help me with this