Hi ,
I have a webi report in which I want to show addition of previous year count and Current year count.
In report I have date prompts so suppose for 2014 count of Incidents is 2, For year 2015 count is 5. So When I will put prompt for 2015. Then In Incident column calculation should start from 2.and keep adding current year count also.
I have achieved to calculate previous year count using 2 queries in report.
Query 1 is calculating current year data using date prompts.
Query 2 is calculating previous year data by date prompts only but selecting less than date from Query 1 start date.
I want to start current year Incident count with previous year count. And want to add current years count in that.And That should be running count.
I have given Report Format below. I am using cross tab.
Prompts For 1 Jan 2014 to 31 Dec 2014
Incidents
Month
Jan 0
Feb 1
March 0
April 1
.
.
Dec 0
------------------------
2
For 1 Jan 2015 to 31 Dec 2015
2015 Actual Count Incidents
Month
Jan 0 2 (previous year count)
Feb 1 3 (2+1)(2015 Actual count + Incidents)
March 0 0
April 2 5 (3+2)
.
-------------------------------------------------------
5
Thanx ,
Mrinal