<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need Help to calculate SoW in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134199#M372538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please reply&amp;nbsp; to my question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 05:41:35 GMT</pubDate>
    <dc:creator>pavanthota</dc:creator>
    <dc:date>2016-06-09T05:41:35Z</dc:date>
    <item>
      <title>Need Help to calculate SoW</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134196#M372535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need one help to write the expression for SOW.I am providing you the sample data in excel.&lt;/P&gt;&lt;P&gt;I have to calculate Sow of current year like Average of prior year and priprior year shipment divided by current year tam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given calculation in excel for 2016 Sow. Please check and provide me the suitable answer asap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134196#M372535</guid>
      <dc:creator>pavanthota</dc:creator>
      <dc:date>2016-06-06T15:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help to calculate SoW</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134197#M372536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide a Sample Application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to do this on the script or in the UI? If it's in a pivot, you could try with Set Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14652349941952781 jive_text_macro" jivemacro_uid="_14652349941952781"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RangeAvg(Sum({&amp;lt;Year={2015}&amp;gt;} Netshipmet), &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Year={2014}&amp;gt;} Netshipmet)) / &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Year={2016}&amp;gt;} Netshipmet)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Or instead of fixed Years, you could use some variable to calculate the Prior Years.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 17:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134197#M372536</guid>
      <dc:creator>alexdataiq</dc:creator>
      <dc:date>2016-06-06T17:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help to calculate SoW</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134198#M372537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use this expression on UI on pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same expression can i use in pivot also right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching sample example (NetShipment= Sum(Direct and InDirect)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tell me how to write this expression in script level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the variables for prior year please check and let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestion to create the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2016 05:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134198#M372537</guid>
      <dc:creator>pavanthota</dc:creator>
      <dc:date>2016-06-07T05:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help to calculate SoW</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134199#M372538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please reply&amp;nbsp; to my question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 05:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-to-calculate-SoW/m-p/1134199#M372538</guid>
      <dc:creator>pavanthota</dc:creator>
      <dc:date>2016-06-09T05:41:35Z</dc:date>
    </item>
  </channel>
</rss>

