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

previous year calculation in crosstab for YOY growth

Started by prabhakar2442, 29 Sep 2016 02:22:00 AM

Previous topic - Next topic

prabhakar2442

Hi Members,

I have cross tab report with some data items as year and measures (cost,units,revenue) on columns and products in rows.
how can I add the previous measure(cost) for year( eg: for 2016 it should have 2015 cost in column).
Please look at the attachment. I need 2014 revenue in 2015 year. please help on the calculation. Thanks,

Regards,
Prahbakar





MFGF

Quote from: prabhakar2442 on 29 Sep 2016 02:22:00 AM
Hi Members,

I have cross tab report with some data items as year and measures (cost,units,revenue) on columns and products in rows.
how can I add the previous measure(cost) for year( eg: for 2016 it should have 2015 cost in column).
Please look at the attachment. I need 2014 revenue in 2015 year. please help on the calculation. Thanks,

Regards,
Prahbakar

Hi,

Are you using a relational or a dimensional package?

MF.
Meep!

prabhakar2442


MFGF

Quote from: prabhakar2442 on 29 Sep 2016 03:43:06 AM
Hi,

Its Relational model.

Regards,
Prabhakar.

Hi,

Not so easy, in that case. The approach would be to create another query that joins Year - 1 to your current query based on Year. Bring the items from your current query, plus the revenue from the second query into the resultant join query, and base your crosstab on this.

MF.
Meep!