<?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: How to create variance from 2 month total customers? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357742#M1170690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What is the logic to select the two months? I mean would you always need Variance between those two months? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 07:38:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-19T07:38:12Z</dc:date>
    <item>
      <title>How to create variance from 2 month total customers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357741#M1170689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 3 fields - &lt;/P&gt;&lt;P&gt;1) type of account A,B,C&lt;/P&gt;&lt;P&gt;2) total customers &lt;/P&gt;&lt;P&gt;3) month id - 201206 and 201112&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create variance by total customers by type of account for the 2 month id. &lt;/P&gt;&lt;P&gt;I am using create expression to create&lt;/P&gt;&lt;P&gt;1) Current month total customers - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2012-06'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Mth Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[total Cust]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) previous month total customers &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Arial','sans-serif';"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;({&amp;lt;date={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;"$(=Date(AddMonths(date,-6),'YYYY-MM'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;[Mth_Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;[Total Cust]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3) variance &lt;/P&gt;&lt;P&gt;[current month total customers] - [previous month total customers]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above does not work. Anyone can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 01:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357741#M1170689</guid>
      <dc:creator />
      <dc:date>2012-07-19T01:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create variance from 2 month total customers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357742#M1170690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What is the logic to select the two months? I mean would you always need Variance between those two months? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 07:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357742#M1170690</guid>
      <dc:creator />
      <dc:date>2012-07-19T07:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create variance from 2 month total customers?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357743#M1170691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check your syntax, it should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Current month total customers&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2012-06'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Mth Id]=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[total Cust]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) previous month total customers &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: blue; font-family: 'Arial','sans-serif';"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;({$&amp;lt;date={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;"$(=Date(AddMonths(date,-6),'YYYY-MM'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;},&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;[Mth_Id]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: maroon; font-family: 'Arial','sans-serif';"&gt;[Total Cust]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3) variance &lt;/P&gt;&lt;P&gt;[current month total customers] - [previous month total customers]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-variance-from-2-month-total-customers/m-p/357743#M1170691</guid>
      <dc:creator />
      <dc:date>2012-07-19T09:07:52Z</dc:date>
    </item>
  </channel>
</rss>

