Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

How to display 'growth year-1' in ssrs reports, data coming from ssas cube

$
0
0

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.


20102011
Month 1981251-74,4139
Month 21358153813,25479
Month 32131399556,8075
2552318824,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





Viewing all articles
Browse latest Browse all 28687

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>