Joined: 05 Jan 2012
Location: India
Online Status: Offline
Posts: 1
Topic: formula for dynamic column Posted: 05 Jan 2012 at 12:12pm
Hello friends !!!
my question is -
what i need in reports-- on dynamic columns for peroid 2009-10, 2010-11 ,so on.. my summary fields are col1, col2 for each period. and on grand total , i want to use formula so row grand total for col1 needs formula like
in period 2010 (col1) + in period 2009 (col1), in period 2010(col2)+ in period 2009 (col2) like this... means if period like 2005,2006,2007 then i want formula for last year 2007 & previous year 2006.
How to do this in crystal reports in cross tab or else ???
exactly looks like below :
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 06 Jan 2012 at 8:44am
well cross tabs will get the dynamic columns, I don't know about the % changes...I don't use cross tabs (clients don't ask for them).
you could probably do this in a stored procedure, use constant names for the columns and put the names you want to display for each column in a field in the row (or in a linked table that the stored proc returns as well)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum