<?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: aternate state and dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60138#M9952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Like for Like comparisons i would suggest you opt for creating flags&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5178"&gt;Like For Like (Comparative) Sales Analysis (Flag Method)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5220"&gt;Like For Like (Comparable) Sales Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2018 04:16:52 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2018-05-07T04:16:52Z</dc:date>
    <item>
      <title>aternate state and dimension</title>
      <link>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60136#M9950</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;I am trying to find the number of clients split by category from the intersection of both selections.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201629_Capture.PNG" style="height: 372px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The total number of clients that bought in 2017 and 2018 is 3, which is correct, clients: &lt;STRONG&gt;a, b&lt;/STRONG&gt; and &lt;STRONG&gt;d&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The count of clients by category is not correct because client &lt;STRONG&gt;d&lt;/STRONG&gt; did not buy anything in category z in 2017, just in 2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Split by category should be:&lt;/P&gt;&lt;P&gt;t= 2 clients ( &lt;STRONG&gt;a&lt;/STRONG&gt; and &lt;STRONG&gt;b&lt;/STRONG&gt; both bought in category t in 2017 and 2018)&lt;/P&gt;&lt;P&gt;z= 1 client ( only client &lt;STRONG&gt;a&lt;/STRONG&gt; bought in category z in&amp;nbsp; both 2017 and 2018) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts how i can achieve the expected result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2018 16:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60136#M9950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-06T16:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: aternate state and dimension</title>
      <link>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60137#M9951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To accomplish this, I would suggest you to create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Client,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Client&amp;amp;Category as Client_Category&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ....;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and not use Client_Category instead of Client in your set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT {&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;Client_Category&lt;/SPAN&gt; = p({2018})*p({2017})&amp;gt;} Client_Category)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 01:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60137#M9951</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-07T01:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: aternate state and dimension</title>
      <link>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60138#M9952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Like for Like comparisons i would suggest you opt for creating flags&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5178"&gt;Like For Like (Comparative) Sales Analysis (Flag Method)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5220"&gt;Like For Like (Comparable) Sales Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 04:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aternate-state-and-dimension/m-p/60138#M9952</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2018-05-07T04:16:52Z</dc:date>
    </item>
  </channel>
</rss>

