You are on page 1of 19

<?xml version="1.0" encoding="UTF-8"?

>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.17" id="1">
<property name="author">Facundo Diaz</property>
<property name="createdBy">Eclipse BIRT Designer Version 2.3.1.v20080911 Build
&lt;2.3.1.v20080922-1151></property>
<property name="units">in</property>
<text-property name="title">Agreement Status Report</text-property>
<list-property name="userProperties">
<structure>
<property name="name">Data Cube - Data Set.Data Set.x</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">Data Cube - Data Set.Data Set.y</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">generalCount.Data Set.x</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">generalCount.Data Set.y</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">generalCount.Data Set.width</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">generalCount.Data Set.height</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">Data Cube - Data Set.Data Set.width</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">Data Cube - Data Set.Data Set.height</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">Data Cube - Data
Set.Status.NewTabularHierarchy1.y</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
<structure>
<property name="name">Data Cube - Data
Set.Status.NewTabularHierarchy1.x</property>
<property name="type">integer</property>
<property name="isVisible">false</property>
</structure>
</list-property>
<property name="Data Cube - Data Set.Data Set.x">218</property>
<property name="Data Cube - Data Set.Data Set.y">31</property>
<property name="generalCount.Data Set.x">91</property>
<property name="generalCount.Data Set.y">39</property>
<property name="generalCount.Data Set.width">150</property>
<property name="generalCount.Data Set.height">200</property>
<property name="Data Cube - Data Set.Data Set.width">150</property>
<property name="Data Cube - Data Set.Data Set.height">200</property>
<property name="Data Cube - Data
Set.Status.NewTabularHierarchy1.y">46</property>
<property name="Data Cube - Data
Set.Status.NewTabularHierarchy1.x">11</property>
<text-property name="displayName">Agreement Status Report</text-property>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="layoutPreference">auto layout</property>
<property name="bidiLayoutOrientation">ltr</property>
<data-sources>
<oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc"
name="Sample" id="447">
<property
name="odaDriverClass">org.eclipse.birt.report.data.oda.sampledb.Driver</property>
<property name="odaURL">jdbc:classicmodels:sampledb</property>
<property name="odaUser">ClassicModels</property>
<property name="OdaConnProfileName"></property>
</oda-data-source>
</data-sources>
<data-sets>
<oda-data-set
extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="Data
Set" id="7">
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">AGREEMENTS</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">AGREEMENT_STATUS_NBR</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">3</property>
<property name="dataType">date</property>
</structure>
</list-property>
</structure>
<property name="dataSource">Sample</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">AGREEMENTS</property>
<property name="nativeName">AGREEMENTS</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">AGREEMENT_STATUS_NBR</property>
<property name="nativeName">AGREEMENT_STATUS_NBR</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">3</property>
<property name="name">3</property>
<property name="nativeName">3</property>
<property name="dataType">date</property>
</structure>
</list-property>
<property name="queryText">
select 0 agreements,123 agreement_status_nbr,CLASSICMODELS.ORDERS.orderdate
date_status_change
from CLASSICMODELS.orders
where CLASSICMODELS.ORDERS.orderdate > '2008-01-01'
union
select 0 agreements,123 agreement_status_nbr,'2008-12-19' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-20' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-21' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-22' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-23' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-24' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-25' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-26' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-27' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-28' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-29' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-30' date_status_change
from CLASSICMODELS.orders
union
select 0 agreements,123 agreement_status_nbr,'2008-12-31' date_status_change
from CLASSICMODELS.orders</property>
</oda-data-set>
<oda-data-set
extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet"
name="Agreement Statuses" id="359">
<structure name="cachedMetaData">
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">LOOKUP_NBR</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">LOOKUP_DESC</property>
<property name="dataType">string</property>
</structure>
</list-property>
</structure>
<property name="dataSource">Sample</property>
<list-property name="resultSet">
<structure>
<property name="position">1</property>
<property name="name">LOOKUP_NBR</property>
<property name="nativeName">LOOKUP_NBR</property>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="position">2</property>
<property name="name">LOOKUP_DESC</property>
<property name="nativeName">LOOKUP_DESC</property>
<property name="dataType">string</property>
</structure>
</list-property>
<property name="queryText">select 123 lookup_nbr, 'A STATUS'
lookup_desc
from CLASSICMODELS.CUSTOMERS
where CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER = 103

</property>
</oda-data-set>
</data-sets>
<cubes>
<tabular-cube name="Data Cube - Data Set" id="321">
<property name="dimensions">
<tabular-dimension name="Time Period" id="322">
<property name="isTimeType">true</property>
<property
name="defaultHierarchy">NewTabularHierarchy</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy" id="323">
<property name="levels">
<tabular-level name="year" id="324">
<property name="dataType">integer</property>
<property
name="dateTimeLevelType">year</property>
<list-property name="attributes">
<structure>
<property
name="name">DateTime</property>
<property name="dataType">date-
time</property>
</structure>
</list-property>
<property
name="columnName">DATE_STATUS_CHANGE</property>
</tabular-level>
<tabular-level name="month" id="325">
<property name="dataType">integer</property>
<property
name="dateTimeLevelType">month</property>
<list-property name="attributes">
<structure>
<property
name="name">DateTime</property>
<property name="dataType">date-
time</property>
</structure>
</list-property>
<property
name="columnName">DATE_STATUS_CHANGE</property>
</tabular-level>
<tabular-level name="week-of-month" id="404">
<property name="dataType">integer</property>
<property name="dateTimeLevelType">week-of-
month</property>
<list-property name="attributes">
<structure>
<property
name="name">DateTime</property>
<property name="dataType">date-
time</property>
</structure>
</list-property>
<property
name="columnName">DATE_STATUS_CHANGE</property>
</tabular-level>
<tabular-level name="day-of-month" id="326">
<property name="dataType">integer</property>
<property name="dateTimeLevelType">day-of-
month</property>
<list-property name="attributes">
<structure>
<property
name="name">DateTime</property>
<property name="dataType">date-
time</property>
</structure>
</list-property>
<property
name="columnName">DATE_STATUS_CHANGE</property>
</tabular-level>
</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
<tabular-dimension name="Status" id="329">
<property name="isTimeType">false</property>
<property
name="defaultHierarchy">NewTabularHierarchy1</property>
<property name="hierarchies">
<tabular-hierarchy name="NewTabularHierarchy1" id="330">
<property name="levels">
<tabular-level name="LOOKUP_DESC" id="388">
<property name="dataType">string</property>
<property
name="columnName">LOOKUP_DESC</property>
</tabular-level>
<tabular-level name="LOOKUP_NBR" id="389">
<property name="dataType">decimal</property>
<property
name="columnName">LOOKUP_NBR</property>
</tabular-level>
</property>
<property name="dataSet">Agreement Statuses</property>
</tabular-hierarchy>
</property>
</tabular-dimension>
</property>
<property name="measureGroups">
<tabular-measure-group name="Summary Field" id="327">
<property name="measures">
<tabular-measure name="AGREEMENTS" id="328">
<property name="function">sum</property>
<expression
name="measureExpression">dataSetRow["AGREEMENTS"]</expression>
<property name="dataType">float</property>
</tabular-measure>
</property>
</tabular-measure-group>
</property>
<property name="dataSet">Data Set</property>
<list-property name="dimensionConditions">
<structure>
<list-property name="joinConditions">
<structure>
<property
name="cubeKey">AGREEMENT_STATUS_NBR</property>
<property name="hierarchyKey">LOOKUP_NBR</property>
</structure>
</list-property>
<property name="hierarchy">NewTabularHierarchy1</property>
</structure>
</list-property>
</tabular-cube>
</cubes>
<styles>
<style name="crosstab-cell" id="4">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
<property name="verticalAlign">middle</property>
<property name="canShrink">false</property>
</style>
<style name="crosstab" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab-header" id="435">
<property name="backgroundColor">#C6DEFF</property>
<property name="textLineThrough">none</property>
<property name="textOverline">none</property>
<property name="textUnderline">none</property>
<property name="canShrink">true</property>
</style>
</styles>
<page-setup>
<simple-master-page name="Simple MasterPage" id="2">
<property name="leftMargin">0.6354166666666666in</property>
<property name="rightMargin">0.5833333333333334in</property>
<page-footer>
<text id="3">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<value-of>new
Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
<body>
<extended-item extensionName="Crosstab" extensionVersion="2.3.0" id="365">
<property name="measures">
<extended-item extensionName="MeasureView" id="399">
<property name="measure">AGREEMENTS</property>
<property name="detail">
<extended-item extensionName="AggregationCell" id="400">
<property name="aggregationOnRow">Time Period/day-of-
month</property>
<property
name="aggregationOnColumn">Status/LOOKUP_DESC</property>
<property name="content">
<data id="401">
<property name="fontSize">10pt</property>
<property name="paddingTop">0pt</property>
<property name="paddingBottom">0pt</property>
<property name="paddingRight">1pt</property>
<structure name="numberFormat">
<property name="category">Fixed</property>
<property name="pattern">###0</property>
</structure>
<property name="textAlign">right</property>
<property
name="resultSetColumn">AGREEMENTS_Time Period/day-of-
month_Status/LOOKUP_DESC</property>
</data>
</property>
<property name="height">26px</property>
<property name="width">193px</property>
</extended-item>
</property>
<property name="aggregations">
<extended-item extensionName="AggregationCell" id="419">
<property name="aggregationOnRow">Time
Period/year</property>
<property
name="aggregationOnColumn">Status/LOOKUP_DESC</property>
<property name="color">#FFFFFF</property>
<property name="backgroundColor">#000000</property>
<property name="content">
<data id="420">
<property name="fontSize">14pt</property>
<property name="paddingTop">7pt</property>
<property name="paddingBottom">4pt</property>
<structure name="numberFormat">
<property name="category">Fixed</property>
<property name="pattern">###0</property>
</structure>
<property name="textAlign">right</property>
<property
name="resultSetColumn">AGREEMENTS_Time Period/year_Status/LOOKUP_DESC_1</property>
</data>
</property>
</extended-item>
<extended-item extensionName="AggregationCell" id="423">
<property name="aggregationOnRow">Time
Period/month</property>
<property
name="aggregationOnColumn">Status/LOOKUP_DESC</property>
<property name="backgroundColor">#808080</property>
<property name="content">
<data id="424">
<property name="fontSize">13pt</property>
<property name="paddingTop">6pt</property>
<property name="paddingBottom">3pt</property>
<structure name="numberFormat">
<property name="category">Fixed</property>
<property name="pattern">###0</property>
</structure>
<property name="textAlign">right</property>
<property
name="resultSetColumn">AGREEMENTS_Time
Period/month_Status/LOOKUP_DESC_1</property>
</data>
</property>
</extended-item>
<extended-item extensionName="AggregationCell" id="427">
<property name="aggregationOnRow">Time Period/week-of-
month</property>
<property
name="aggregationOnColumn">Status/LOOKUP_DESC</property>
<property name="backgroundColor">#C0C0C0</property>
<property name="content">
<data id="428">
<property name="fontSize">12pt</property>
<property name="paddingTop">5pt</property>
<property name="paddingBottom">2pt</property>
<structure name="numberFormat">
<property name="category">Fixed</property>
<property name="pattern">###0</property>
</structure>
<property name="textAlign">right</property>
<property
name="resultSetColumn">AGREEMENTS_Time Period/week-of-
month_Status/LOOKUP_DESC_1</property>
</data>
</property>
</extended-item>
<extended-item extensionName="AggregationCell" id="431">
<property
name="aggregationOnColumn">Status/LOOKUP_DESC</property>
<property name="backgroundColor">#778EA5</property>
<property name="paddingTop">10pt</property>
<property name="content">
<data id="432">
<property name="fontSize">15pt</property>
<property name="fontWeight">bold</property>
<structure name="numberFormat">
<property name="category">Fixed</property>
<property name="pattern">###0</property>
</structure>
<property name="textAlign">right</property>
<property
name="resultSetColumn">AGREEMENTS_Status/LOOKUP_DESC_1</property>
</data>
</property>
</extended-item>
</property>
<property name="header">
<extended-item extensionName="CrosstabCell" id="402">
<property name="backgroundColor">#778EA5</property>
<property name="borderTopStyle">none</property>
<property name="borderTopWidth">0pt</property>
<property name="borderBottomStyle">solid</property>
<property name="paddingLeft">0pt</property>
<property name="paddingRight">0pt</property>
<property name="canShrink">true</property>
<property name="height">0%</property>
</extended-item>
</property>
</extended-item>
</property>
<property name="rows">
<extended-item extensionName="CrosstabView" id="367">
<property name="grandTotal">
<extended-item extensionName="CrosstabCell" id="430">
<property name="content">
<label id="433">
<property name="fontSize">15pt</property>
<property name="fontWeight">bold</property>
<property
name="borderLeftColor">black</property>
<property name="textAlign">left</property>
<text-property name="text">REPORT TOTAL</text-
property>
</label>
</property>
<property name="backgroundColor">#778EA5</property>
<property name="paddingTop">10pt</property>
</extended-item>
</property>
<property name="views">
<extended-item extensionName="DimensionView" id="405">
<property name="dimension">Time Period</property>
<property name="levels">
<extended-item extensionName="LevelView"
name="NewLevel View" id="406">
<property name="level">Time
Period/year</property>
<property name="member">
<extended-item
extensionName="CrosstabCell" id="407">
<property
name="backgroundColor">black</property>
<property
name="verticalAlign">bottom</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="borderRightStyle">none</property>
<property
name="borderRightWidth">0pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="canShrink">true</property>
<property name="width">0px</property>
</extended-item>
</property>
<property name="aggregationHeader">
<extended-item
extensionName="CrosstabCell" id="418">
<property name="content">
<data name="year_TOTAL" id="421">
<property
name="fontSize">14pt</property>
<property
name="color">white</property>
<property
name="paddingTop">7pt</property>
<property
name="paddingLeft">1pt</property>
<property
name="paddingBottom">4pt</property>
<property
name="textAlign">left</property>
<property
name="resultSetColumn">year_TOTAL</property>
</data>
</property>
<property
name="backgroundColor">black</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="paddingLeft">1pt</property>
</extended-item>
</property>
</extended-item>
<extended-item extensionName="LevelView"
name="NewLevel View1" id="409">
<property name="level">Time
Period/month</property>
<property name="member">
<extended-item
extensionName="CrosstabCell" id="410">
<property
name="backgroundColor">#808080</property>
<property
name="verticalAlign">bottom</property>
<property
name="pageBreakAfter">auto</property>
<property
name="showIfBlank">false</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="borderRightStyle">none</property>
<property
name="borderRightWidth">0pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="canShrink">true</property>
<property name="width">0px</property>
</extended-item>
</property>
<property name="aggregationHeader">
<extended-item
extensionName="CrosstabCell" id="422">
<property name="content">
<data name="month_TOTAL" id="425">
<property
name="fontSize">12pt</property>
<property
name="paddingTop">6pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingBottom">3pt</property>
<property
name="paddingRight">0pt</property>
<property
name="textAlign">left</property>
<property
name="resultSetColumn">month_TOTAL</property>
</data>
</property>
<property
name="backgroundAttachment">scroll</property>
<property
name="backgroundColor">#808080</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="canShrink">false</property>
</extended-item>
</property>
</extended-item>
<extended-item extensionName="LevelView"
name="NewLevel View2" id="412">
<property name="level">Time Period/week-of-
month</property>
<property name="member">
<extended-item
extensionName="CrosstabCell" id="413">
<property
name="backgroundColor">#C0C0C0</property>
<property
name="verticalAlign">bottom</property>
<property
name="pageBreakAfter">auto</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="borderRightStyle">none</property>
<property
name="borderRightWidth">0pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="canShrink">true</property>
<property name="width">0px</property>
</extended-item>
</property>
<property name="aggregationHeader">
<extended-item
extensionName="CrosstabCell" id="426">
<property name="content">
<data name="week-of-month_TOTAL"
id="429">
<property
name="fontSize">11pt</property>
<property
name="paddingTop">5pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingBottom">2pt</property>
<property
name="paddingRight">0pt</property>
<property
name="textAlign">left</property>
<property
name="resultSetColumn">week-of-month_TOTAL</property>
</data>
</property>
<property
name="backgroundColor">#C0C0C0</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="width">150px</property>
</extended-item>
</property>
</extended-item>
<extended-item extensionName="LevelView"
name="NewLevel View4" id="415">
<property name="level">Time Period/day-of-
month</property>
<property name="member">
<extended-item
extensionName="CrosstabCell" id="416">
<property name="content">
<data id="437">
<property
name="fontSize">10pt</property>
<property
name="marginTop">0pt</property>
<property
name="marginBottom">auto</property>
<property
name="paddingTop">0pt</property>
<property
name="paddingBottom">0pt</property>
<structure
name="dateTimeFormat">
<property
name="category">Custom</property>
<property
name="pattern">M/d/YYYY</property>
</structure>
<property
name="textAlign">right</property>
<property
name="resultSetColumn">day</property>
</data>
</property>
<property
name="verticalAlign">middle</property>
<property
name="borderLeftStyle">none</property>
<property
name="borderLeftWidth">0pt</property>
<property
name="marginBottom">0pt</property>
<property
name="paddingTop">0pt</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingBottom">0pt</property>
<property
name="width">120px</property>
</extended-item>
</property>
</extended-item>
</property>
</extended-item>
</property>
</extended-item>
</property>
<property name="columns">
<extended-item extensionName="CrosstabView" id="378">
<property name="views">
<extended-item extensionName="DimensionView" id="390">
<property name="dimension">Status</property>
<property name="levels">
<extended-item extensionName="LevelView"
name="NewLevel View3" id="391">
<property
name="level">Status/LOOKUP_DESC</property>
<property name="member">
<extended-item
extensionName="CrosstabCell" id="392">
<property name="content">
<data name="LOOKUP_DESC" id="393">
<property
name="fontSize">10pt</property>
<property
name="color">white</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="canShrink">true</property>
<property
name="resultSetColumn">LOOKUP_DESC</property>
</data>
</property>
<property
name="backgroundColor">#778EA5</property>
<property
name="backgroundRepeat">repeat-y</property>
<property
name="paddingLeft">0pt</property>
<property
name="paddingRight">0pt</property>
<property
name="canShrink">true</property>
</extended-item>
</property>
</extended-item>
</property>
</extended-item>
</property>
</extended-item>
</property>
<property name="header">
<extended-item extensionName="CrosstabCell" id="366">
<property name="backgroundColor">#778EA5</property>
</extended-item>
</property>
<property name="canShrink">true</property>
<property name="cube">Data Cube - Data Set</property>
<property name="width">100%</property>
<list-property name="boundDataColumns">
<structure>
<property name="name">LOOKUP_DESC</property>
<expression
name="expression">dimension["Status"]["LOOKUP_DESC"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Status/LOOKUP_DESC</property>
<expression
name="expression">measure["AGREEMENTS"]</expression>
<property name="dataType">integer</property>
<simple-property-list name="aggregateOn">
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
</structure>
<structure>
<property name="name">year</property>
<expression name="expression">dimension["Time
Period"]["year"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time
Period/year_Status/LOOKUP_DESC</property>
<expression
name="expression">measure["AGREEMENTS"]</expression>
<property name="dataType">integer</property>
<simple-property-list name="aggregateOn">
<value>Time Period/year</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
</structure>
<structure>
<property name="name">month</property>
<expression name="expression">dimension["Time
Period"]["month"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time
Period/month_Status/LOOKUP_DESC</property>
<expression
name="expression">measure["AGREEMENTS"]</expression>
<property name="dataType">integer</property>
<simple-property-list name="aggregateOn">
<value>Time Period/month</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
</structure>
<structure>
<property name="name">week-of-month</property>
<expression name="expression">dimension["Time Period"]["week-
of-month"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time Period/week-of-
month_Status/LOOKUP_DESC</property>
<expression
name="expression">measure["AGREEMENTS"]</expression>
<property name="dataType">integer</property>
<simple-property-list name="aggregateOn">
<value>Time Period/week-of-month</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
</structure>
<structure>
<property name="name">day-of-month</property>
<expression name="expression">dimension["Time Period"]["day-
of-month"]</expression>
<property name="dataType">integer</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time Period/day-of-
month_Status/LOOKUP_DESC</property>
<property name="dataType">float</property>
<simple-property-list name="aggregateOn">
<value>Time Period/day-of-month</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
<list-property name="arguments">
<structure>
<property name="name">Expression</property>
<expression
name="value">measure["AGREEMENTS"]</expression>
</structure>
</list-property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time
Period/year_Status/LOOKUP_DESC_1</property>
<property name="dataType">float</property>
<simple-property-list name="aggregateOn">
<value>Time Period/year</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
<list-property name="arguments">
<structure>
<property name="name">Expression</property>
<expression
name="value">measure["AGREEMENTS"]</expression>
</structure>
</list-property>
</structure>
<structure>
<property name="name">year_TOTAL</property>
<expression name="expression">data["year"] + "
Total"</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time
Period/month_Status/LOOKUP_DESC_1</property>
<property name="dataType">float</property>
<simple-property-list name="aggregateOn">
<value>Time Period/month</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
<list-property name="arguments">
<structure>
<property name="name">Expression</property>
<expression
name="value">measure["AGREEMENTS"]</expression>
</structure>
</list-property>
</structure>
<structure>
<property name="name">month_TOTAL</property>
<expression name="expression">var m_names = new Array("Jan",
"Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");

var BeginIdx = dimension["Time Period"]["month"] -1;

m_names[BeginIdx] + " SubTotal"</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property name="name">AGREEMENTS_Time Period/week-of-
month_Status/LOOKUP_DESC_1</property>
<property name="dataType">float</property>
<simple-property-list name="aggregateOn">
<value>Time Period/week-of-month</value>
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
<list-property name="arguments">
<structure>
<property name="name">Expression</property>
<expression
name="value">measure["AGREEMENTS"]</expression>
</structure>
</list-property>
</structure>
<structure>
<property name="name">week-of-month_TOTAL</property>
<property name="displayName">W</property>
<expression name="expression">"Weekly SubTotal"
//data["week-of-month"] + " m:" + data["month"] + " a:" +
data["year"]</expression>
<property name="dataType">string</property>
</structure>
<structure>
<property
name="name">AGREEMENTS_Status/LOOKUP_DESC_1</property>
<property name="dataType">float</property>
<simple-property-list name="aggregateOn">
<value>Status/LOOKUP_DESC</value>
</simple-property-list>
<property name="aggregateFunction">SUM</property>
<list-property name="arguments">
<structure>
<property name="name">Expression</property>
<expression
name="value">measure["AGREEMENTS"]</expression>
</structure>
</list-property>
</structure>
<structure>
<property name="name">day</property>
<property name="displayName">day</property>
<expression name="expression">//There is a bug where last week
is being displayed with an added year

if (data["month"] == 12 &amp;&amp; data["week-of-month"]==5) {
BirtDateTime.addYear(dimension["Time Period"]["day-of-month"]["DateTime"],-
1)
}else{
dimension["Time Period"]["day-of-month"]["DateTime"]
}</expression>
<property name="dataType">date</property>
</structure>
<structure>
<property name="name">monthName</property>
<property name="displayName">month</property>
<expression name="expression">var m_names = new Array("Jan",
"Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");

var BeginIdx = dimension["Time Period"]["month"] -1;

m_names[BeginIdx]</expression>
<property name="dataType">string</property>
</structure>
</list-property>
</extended-item>
</body>
</report>