Hi,
I'm a newbie on SSRS reports and was a bit surprised how difficult it is to create a simple report on SSAS.
It only accepts table-like datasets, so the totals are calculated on the fly in the report instead of using the SSAS data.
The example I try to create is very simple :
On row : Customer Group
On columns : Year,Trimester and month
Detail : SalesAmount
This was easy and SSRS showed me the correct totals. I do think SSRS recalculates the totals because he uses Sum(SalesAmount.Value) as expression.
Next step would be to add a calculated measure that already exists in the SSAS cube, Comparison to same period previous year.
So on the month level it would show the growth compared to the same month in previous year, for example.
The measure is working just fine if I browse my cube or use it in Excel.
But if I add it in SSRS, it will also do a Sum(Growth.Value) and this gives errors offcourse.
Because the growth of my trimester is not the total of growth of my months.
Also the average does not give the correct result
The salesamount are as following.
| 2010 | 2011 | |
Month 1 | 981 | 251 | -74,4139 |
Month 2 | 1358 | 1538 | 13,25479 |
Month 3 | 213 | 1399 | 556,8075 |
| 2552 | 3188 | 24,92163 |
With the average calculation, the monthly growth compared to previous year are correct.
But the for trimister 1 I get 164% which is offcourse the calculated average of the 3 months. The correct result is 24.9 %
This should be something easy to do so what am I missing here?
Regards,
Sven Peeters