<?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: Comparing apples to apples - common values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956978#M328762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered alterante states?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating two alternate states to make your selections you want to compare (i.e. to define the two sets), then &lt;/P&gt;&lt;P&gt;use set analysis to filter the SKU, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({State1&amp;lt;SKU = p({State1}) * p({State2}) &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resp.&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;=Sum({State2&amp;lt;SKU = p({State1}) * p({State2}) &amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2015 20:44:42 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-12-18T20:44:42Z</dc:date>
    <item>
      <title>Comparing apples to apples - common values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956976#M328760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across this challenge that I am not quite sure how to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare two groups of providers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that in order to have an apples to apples comparison I want to consider only those SKUs that are common to both dimensions, that is, those SKUs sold by both groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of two alternatives being the first a flag in the script and the second some set analysis magic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not really quite sure on which path to follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone done anything similar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 19:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956976#M328760</guid>
      <dc:creator />
      <dc:date>2015-12-18T19:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing apples to apples - common values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956977#M328761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is all of the data in the same tables or multiple?&amp;nbsp; If they are in multiple, a left join may give you waht you want since your remaining table should be data that is common the both tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is within the same table , based on your explanation, set analysis should work, but without seeing the data and how you need to compare, can't say for sure that it would work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more information and/or sample data would be agreat help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 20:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956977#M328761</guid>
      <dc:creator />
      <dc:date>2015-12-18T20:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing apples to apples - common values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956978#M328762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered alterante states?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating two alternate states to make your selections you want to compare (i.e. to define the two sets), then &lt;/P&gt;&lt;P&gt;use set analysis to filter the SKU, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({State1&amp;lt;SKU = p({State1}) * p({State2}) &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resp.&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;=Sum({State2&amp;lt;SKU = p({State1}) * p({State2}) &amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 20:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956978#M328762</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-18T20:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing apples to apples - common values</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956979#M328763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is is possible to share a sample of your data, or at least a screenshot of your datamodel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2015 10:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-apples-to-apples-common-values/m-p/956979#M328763</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-12-19T10:19:05Z</dc:date>
    </item>
  </channel>
</rss>

