You are on page 1of 3

<saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www .w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001 /XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1"> <saw:criteria subjectArea="OLAP"> <saw:columns> <saw:column formula="CASE WHEN DAYOFWEEK(Orders.

&quot;Relevant Ship Da te&quot;) = 1 THEN Orders.&quot;Relevant Ship Date&quot; ELSE TIMESTAMPADD(SQL_ TSI_DAY, 8-DAYOFWEEK(Orders.&quot;Relevant Ship Date&quot;),Orders.&quot;Relevan t Ship Date&quot;) END" columnID="c12"> <saw:tableHeading> <saw:caption> <saw:text>Orders</saw:text></saw:caption></saw:tableHeading> <saw:columnHeading> <saw:caption> <saw:text>Week Ending</saw:text></saw:caption> <saw:displayFormat interaction="default"/></saw:columnHeading> <saw:displayFormat suppress="default" interaction="default" hAlign=" center"/></saw:column> <saw:column formula="YEAR(Orders.&quot;Relevant Ship Date&quot;)" colum nID="c13"> <saw:tableHeading> <saw:caption> <saw:text>Orders</saw:text></saw:caption></saw:tableHeading> <saw:columnHeading> <saw:caption> <saw:text>YEAR</saw:text></saw:caption> <saw:displayFormat interaction="default"/></saw:columnHeading> <saw:displayFormat suppress="default" interaction="default"> <saw:dataFormat xsi:type="saw:number" commas="false" negativeType ="minus" minDigits="0" maxDigits="0"/></saw:displayFormat></saw:column> <saw:column formula="DAYNAME(Orders.&quot;Relevant Ship Date&quot;)" co lumnID="c14"> <saw:displayFormat suppress="default" interaction="default" hAlign=" center"/> <saw:columnHeading> <saw:displayFormat interaction="default"/></saw:columnHeading></s aw:column> <saw:column formula="CASE WHEN DAYOFWEEK(Orders.&quot;Relevant Ship Dat e&quot;)=1 THEN 7 ELSE DAYOFWEEK(Orders.&quot;Relevant Ship Date&quot;)-1 END" c olumnID="c15"> <saw:tableHeading> <saw:caption> <saw:text>Orders</saw:text></saw:caption></saw:tableHeading> <saw:columnHeading> <saw:caption> <saw:text>Adj Day #</saw:text></saw:caption></saw:columnHeadin g></saw:column> <saw:column formula="&quot;Order Fact&quot;.&quot;Number of Orders&quot ;" columnID="c2"/> <saw:column formula="Organization.CURRENCY_CODE" columnID="c11"/> <saw:column formula="&quot;Order Fact&quot;.&quot;Order Total less Tax& quot;" columnID="c3"> </saw:column> <saw:column formula="&quot;Order Fact&quot;.RPO" columnID="c7"> <saw:displayFormat suppress="default" interaction="default"/> <saw:columnHeading> <saw:displayFormat interaction="default"/></saw:columnHeading></s aw:column></saw:columns> <saw:filter subjectArea="OLAP"> <sawx:expr xsi:type="sawx:logical" op="and"> <sawx:expr xsi:type="sawx:list" op="in">

<sawx:expr xsi:type="sawx:sqlExpression">Orders."Order Type"</saw x:expr> <sawx:expr <sawx:expr <sawx:expr <sawx:expr wx:expr> <sawx:expr xsi:type="sawx:comparison" op="between"> <sawx:expr xsi:type="sawx:sqlExpression">Orders."Relevant Ship Da te"</sawx:expr> <sawx:expr xsi:type="xsd:date">2010-12-29</sawx:expr> <sawx:expr xsi:type="sawx:variable" op="server">Previous Day</saw x:expr></sawx:expr> <sawx:expr xsi:type="sawx:list" op="in"> <sawx:expr xsi:type="sawx:sqlExpression">Organization.Organizatio n</sawx:expr> <sawx:expr xsi:type="sawx:untypedLiteral">US</sawx:expr></sawx:ex pr></sawx:expr></saw:filter> <saw:columnOrder> <saw:columnRef columnID="c12" direction="ascending"/> <saw:columnRef columnID="c15" direction="ascending"/></saw:columnOrder> </saw:criteria> <saw:views currentView="0"> <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="2 00510010"> <saw:cvTable> <saw:cvRow> <saw:cvCell viewName="titleView!1"> <saw:displayFormat/></saw:cvCell></saw:cvRow> <saw:cvRow> <saw:cvCell viewName="pivotTableView!1"/></saw:cvRow> <saw:cvRow> <saw:cvCell viewName="filtersView!1"/></saw:cvRow></saw:cvTable>< /saw:view> <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="2005100 10" includeName="false" startedDisplay="none"> <saw:title> <saw:caption fmt="text"> <saw:text>Continuity Orders based on Ship Date</saw:text></saw:ca ption></saw:title></saw:view> <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="2005100 10" showHeading="false" grandTotal="true"> <saw:columns/> <saw:displayFormat/></saw:view> <saw:view xsi:type="saw:pivotTableView" name="pivotTableView!1" rptViewVer s="200510010"> <saw:edge axis="page"/> <saw:edge axis="section"/> <saw:edge axis="row" total="after"> <saw:edgeLayer type="column" columnID="c13" sort="asc"/> <saw:edgeLayer type="column" columnID="c12" sort="asc"/> <saw:edgeLayer type="column" columnID="c11"/></saw:edge> <saw:edge axis="column"> <saw:edgeLayer type="labels" total="after"/> <saw:edgeLayer type="column" columnID="c15" sort="asc"> <saw:displayFormat visibility="hidden"/></saw:edgeLayer> <saw:edgeLayer type="column" columnID="c14"/></saw:edge> <saw:edge axis="measure"> <saw:edgeLayer type="column" columnID="c3"/> <saw:edgeLayer type="column" columnID="c2"/></saw:edge></saw:view> xsi:type="xsd:string">CONTINUITY_BB</sawx:expr> xsi:type="xsd:string">CONTINUITY_BT</sawx:expr> xsi:type="xsd:string">MYBBCONV</sawx:expr> xsi:type="xsd:string">CONTINUITY_BB_UK</sawx:expr></sa

<saw:view xsi:type="saw:staticchart" name="staticchart!1" rptViewVers="200 510010"> <saw:template tid="charts/column.cxml"/> <saw:selections> <saw:categories> <saw:category position="0"> <saw:column columnID="c12"/></saw:category></saw:categories> <saw:measures> <saw:column columnID="c3" position="0"/></saw:measures> <saw:seriesGenerators> <saw:measureLabels/></saw:seriesGenerators></saw:selections> <saw:canvasFormat/> <saw:legendFormat/> <saw:interaction type="drill"/> <saw:conditionFormats> <saw:conditionRule> <sawx:expr xsi:type="sawx:comparison" op="less"> <saw:columnRef columnID="c3"/> <sawx:expr xsi:type="xsd:decimal">375000</sawx:expr></sawx:exp r> <saw:visualFormats> <saw:visualFormat className="barProp" name="normalBar" color=" #FF0000"/></saw:visualFormats></saw:conditionRule></saw:conditionFormats> <saw:seriesFormats> <saw:seriesFormatGroup name="series0"/></saw:seriesFormats></saw:vie w> <saw:view xsi:type="saw:filtersView" name="filtersView!1" rptViewVers="200 510010"/></saw:views></saw:report>