<?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 Variable and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-and-Set-Analysis/m-p/488937#M182722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12.0pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: black; font-family: calibri, verdana, arial, sans-serif;"&gt;I have created below two variables. Margin% is being calculated using the same. To be noted that these data belongs two last 5 years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eLineSalePriceEURO&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Customer Invoice Currency]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;='UKL',&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Price]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Exchange Rate]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Quantity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Price]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Quantity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eLineCostPriceEURO&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Cost Price in UKL]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Exchange Rate]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Quantity] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineCostPriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)),'#,##0.00%')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;How can I create a third variable &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eMargin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt; for Margin% so that I can use it directly without writing above formula?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: black; font-family: calibri, verdana, arial, sans-serif;"&gt;Currently I am using below two show year wise margin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;({1&amp;lt;Year = {'2010'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)- SUM({1&amp;lt;Year = {'2010'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineCostPriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;))/&lt;BR /&gt; (SUM({1&amp;lt;Year = {'2010'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)),'#,##0.00%') &lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;2) &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;How can I show year wise margin using set analysis and &lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eMargin&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 14.0pt; font-family: calibri, verdana, arial, sans-serif;"&gt; variable&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2013 13:53:23 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2013-09-27T13:53:23Z</dc:date>
    <item>
      <title>Variable and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-and-Set-Analysis/m-p/488937#M182722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 12.0pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Hi Community,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: black; font-family: calibri, verdana, arial, sans-serif;"&gt;I have created below two variables. Margin% is being calculated using the same. To be noted that these data belongs two last 5 years.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eLineSalePriceEURO&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Customer Invoice Currency]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;='UKL',&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Price]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Exchange Rate]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Quantity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Price]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Quantity]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eLineCostPriceEURO&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Cost Price in UKL]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Exchange Rate]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: maroon;"&gt;[Invoice Quantity] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineCostPriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)),'#,##0.00%')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;How can I create a third variable &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eMargin&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt; for Margin% so that I can use it directly without writing above formula?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: black; font-family: calibri, verdana, arial, sans-serif;"&gt;Currently I am using below two show year wise margin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;({1&amp;lt;Year = {'2010'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)- SUM({1&amp;lt;Year = {'2010'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineCostPriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;))/&lt;BR /&gt; (SUM({1&amp;lt;Year = {'2010'}&amp;gt;}&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;$(eLineSalePriceEURO)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;)),'#,##0.00%') &lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;2) &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: black;"&gt;How can I show year wise margin using set analysis and &lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM style="color: gray; font-size: 12.0pt;"&gt;eMargin&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 14.0pt; font-family: calibri, verdana, arial, sans-serif;"&gt; variable&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 13:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-and-Set-Analysis/m-p/488937#M182722</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2013-09-27T13:53:23Z</dc:date>
    </item>
  </channel>
</rss>

