Author Topic: Custom summary/calculated rows in a cross tab report  (Read 1404 times)

Offline maverick_hs

  • Full Member
  • ***
  • Posts: 37
  • Forum Citizenship: +0/-0
Custom summary/calculated rows in a cross tab report
« on: 23 Feb 2006 02:56:50 am »
Hi,

I have a cross tab report with product line as rows and product types as columns. The measure is the sales qty. The report has a summary row (say 'S')which shows the total qty for a given product line. In the model, I also have a column which stores an Adjusted Sales Qty for each Product Line. What I want to do is below the Summary Line 'S' I want a row say 'R1' which displays the Adjusted Sales Qty for each product line and then another row say 'R2' which is R1+R2. I am attaching a screenshot of a dummy layout I created in Excel. The rows in green is what I have and the ones in Red, I want to have.

It sounds simple to me but I have tried all kinds of things and it doesn't seem to work. Seems like I just can't insert a row in the cross tab where I can put any calculation of my choice...

Any suggestions would be greatly appreciated.

Offline maverick_hs

  • Full Member
  • ***
  • Posts: 37
  • Forum Citizenship: +0/-0
Re: Custom summary/calculated rows in a cross tab report
« Reply #1 on: 23 Feb 2006 03:01:11 am »
Also, I am attaching a screenshot of the table that the report goes against to make things a bit more clear.


Offline CoginAustin

  • Community Leader
  • *****
  • Posts: 189
  • Forum Citizenship: +10/-0
Re: Custom summary/calculated rows in a cross tab report
« Reply #2 on: 23 Feb 2006 04:32:51 am »
You can do this but it is not very easy in a crosstab. Basically you add a tabular set, 1 side has all your rows now, one tabular model has the added rows with the row name hardcoded(R2,R1) at the proper level.

Search for "crosstab tabular" in these forums I am fairly certain i exlpained it more in detail a month or so back