Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

YTD Calculation

Hi,

I have a Pivot table where I need to do YTD calculation.I have a dimension 'month' in yyyymmdd format and an expression "sum(ANR)". I need to show data as per current year YTD(ie. Jan-Apr 2009) and same prev year YTD(Jan-Apr 2008). The report will look like:

Jan09 Feb 09 Mar09 Apr 09 09YTD-Total Jan08 Feb 08 Mar08 Apr08 08YTD-Total

ANR 100 200 300 100 700 100 100 100 100 400

Please help ASAP.

Labels (1)
1 Reply
deepakk
Partner - Specialist III
Partner - Specialist III

can we make this report in this type. This format will be much easier for reading and understanding.

yearmonthJanFebMar
AprMayJunJul
Aug
Sep
OctNov
DecTotal
20010054,630.230008,217.0513,903.26208,697.63249,608.67150,771.9148,052.01733,478.27
2002363,631.12246,402.03128,223.73402,773.34199,011.73300,756.2886,775.6700217,163.6296,459.7564,043.462,057,153.03
200326,427.82141,386.1414,581.7453,779.32285,859.05056,284.8250,689.00165,426.92102,560.14143,744.1656,848.631,063,266.05
2004103,203.46118,049.1094,150.9055,365.3800000000370,768.84
Total493,262.40505,837.27291,586.60511,918.04484,870.78266,032.10151,277.5447,151.81343,477.30569,332.43390,975.82168,944.10

4,224,666.20