If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

percentage for the value / subtotal in crosstab

Started by Bruno Ferreira, 16 Oct 2009 09:47:46 AM

Previous topic - Next topic

Bruno Ferreira

Hi,

I have a problem with a calculation of percentage in a crosstab.
I have in rows category and product, the columns are months. the crosstable has a aggregation of totals in line and columns. like this:


   
      
      
      
      
      
      
      
      
CategoryProductJanFebMarTotal for months% Cost
CarGM Camaro30000400005000012000068.5%
CarFord Mustang100004000050005500031.5%
Total Car400008000055000175000100%
MotorcycleDucati30000200050032500
MotorcycleHayabusa40070001000017400
Total Motorcycle3040090001050051900
Total704008900065500226900


I need that the [% costs] be the [total for months] / [total for category] like like the red values, but but it doesn't happen.

Can you help me? thanks.

billylodz

this should work

[Total for Months]/total([Mesure] for [Category])