<?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 fields in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336875#M412272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try solving this in your data model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14945964324098691 jive_text_macro" jivemacro_uid="_14945964324098691"&gt;
&lt;P&gt;Products:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LinkTable:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Product Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Product' as Type&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;WHERE [Benchmark Name] &amp;lt;&amp;gt; 'n/a';&lt;/P&gt;
&lt;P&gt;LOAD [Product Name],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Benchmark Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Benchmark' as Type&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;WHERE [Benchmark Name] &amp;lt;&amp;gt; 'n/a';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Fact:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeMonth&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TH bgcolor="#f5f5f5" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Product Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Sum({&amp;lt;Type = {'Product'}&amp;gt;} ThreeMonth) - Sum({&amp;lt;Type = {'Benchmark'}&amp;gt;}ThreeMonth)&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-6,0%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-0,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2,3%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1,0%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-2,0%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 13:41:52 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-05-12T13:41:52Z</dc:date>
    <item>
      <title>Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336869#M412266</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;Hope you can help, I'm struggiling to be able to find the right code to do a simple field - field sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I have a selection of Customers that I want to subtract their values from the Benchmarks we have set to identify if they are up/down vs that benchmark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each Benchmark and Customer/Product has a Value in a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE width="285"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl59" height="20" width="157"&gt;Product Name&lt;/TD&gt;&lt;TD class="xl59" colspan="2" width="128"&gt;ThreeMonth&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer1&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;72.21%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer2&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;60.00%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer3&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;65.84%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer4&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;67.58%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer5&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;65.43%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer6&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;66.21%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer7&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;63.26%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Benchmark1&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;66.03%&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Benchmark2&lt;/TD&gt;&lt;TD align="right" class="xl59"&gt;&lt;P&gt;65.24%&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in another table I state which Benchmark relates to which customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE width="406"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl59" height="20" width="105"&gt;Product Name&lt;/TD&gt;&lt;TD width="301"&gt;Benchmark Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer1&lt;/TD&gt;&lt;TD&gt;Benchmark1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer2&lt;/TD&gt;&lt;TD&gt;Benchmark1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer3&lt;/TD&gt;&lt;TD&gt;Benchmark1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer4&lt;/TD&gt;&lt;TD&gt;Benchmark2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer5&lt;/TD&gt;&lt;TD&gt;Benchmark2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer6&lt;/TD&gt;&lt;TD&gt;Benchmark2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Customer7&lt;/TD&gt;&lt;TD&gt;Benchmark2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Benchmark1&lt;/TD&gt;&lt;TD&gt;n/a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl59" height="20"&gt;Benchmark2&lt;/TD&gt;&lt;TD&gt;n/a&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Customer 1 it is benchmarked against Benchmark 1, so the sum should be 72.1 - 66.03, however I'm unable to write the correct code to have it identify that Benchmark 1 is related to Customer1 in this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 11:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336869#M412266</guid>
      <dc:creator />
      <dc:date>2017-05-12T11:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336870#M412267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your desired output going to look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 11:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336870#M412267</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-12T11:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336871#M412268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be shown as a % so 72.1 - 66.03 = 6.07% &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 11:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336871#M412268</guid>
      <dc:creator />
      <dc:date>2017-05-12T11:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336872#M412269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this if you have selected a single Product Name (Customer1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only(ThreeMonth) - Only({&amp;lt;[Product Name] = p([Benchmark Name]) &amp;gt;} ThreeMonth)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 12:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336872#M412269</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-12T12:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336873#M412270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to operate in a Table/Pivot with the Customer/Product Name showing and then the Measures alongside for each Product so no selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 12:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336873#M412270</guid>
      <dc:creator />
      <dc:date>2017-05-12T12:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336874#M412271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(ThreeMonth, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Pick(Match([&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Benchmark Name], '&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Benchmark1', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Benchmark2')&lt;/SPAN&gt;, Only(TOTAL {&amp;lt;[Product Name] = {'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Benchmark1'}&lt;/SPAN&gt;&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ThreeMonth), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Only(TOTAL {&amp;lt;[Product Name] = {'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Benchmark2'}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ThreeMonth)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 12:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336874#M412271</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-12T12:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336875#M412272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try solving this in your data model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14945964324098691 jive_text_macro" jivemacro_uid="_14945964324098691"&gt;
&lt;P&gt;Products:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LinkTable:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Product Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Product' as Type&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;WHERE [Benchmark Name] &amp;lt;&amp;gt; 'n/a';&lt;/P&gt;
&lt;P&gt;LOAD [Product Name],&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Benchmark Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 'Benchmark' as Type&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;
&lt;P&gt;WHERE [Benchmark Name] &amp;lt;&amp;gt; 'n/a';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Fact:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeMonth&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TH bgcolor="#f5f5f5" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Product Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Sum({&amp;lt;Type = {'Product'}&amp;gt;} ThreeMonth) - Sum({&amp;lt;Type = {'Benchmark'}&amp;gt;}ThreeMonth)&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-6,0%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-0,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2,3%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1,0%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-2,0%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 13:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336875#M412272</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-12T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336876#M412273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you change the last LOAD to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14945966591735331" jivemacro_uid="_14945966591735331"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Fact:&lt;/P&gt;
&lt;P&gt;CROSSTABLE (MeasureType, Measure)&lt;/P&gt;
&lt;P&gt;LOAD [Product Name] as Product,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeMonth&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;E&gt;&lt;/E&gt;&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a pivot with one expression, showing MeasureType as second dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TH bgcolor="#f5f5f5" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Product Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH bgcolor="#f5f5f5" nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;MeasureType&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;ThreeMonth&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-6,0%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-0,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2,3%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0,2%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1,0%&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Customer7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt; &lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;-2,0%&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 13:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336876#M412273</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-12T13:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336877#M412274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Motivated by Stefan, putting down the expression based solution in case you don't want to make changes to script &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ThreeMonth&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;-Pick(Match([&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Benchmark Name], '&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Benchmark1', '&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Benchmark2')&lt;/SPAN&gt;, Only(TOTAL {&amp;lt;[Product Name] = {'&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Benchmark1'}&lt;/SPAN&gt;&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ThreeMonth), &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Only(TOTAL {&amp;lt;[Product Name] = {'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Benchmark2'}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ThreeMonth))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/163188_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;RangeSum(ThreeMonth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;-Pick(Match([&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Benchmark Name], '&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Benchmark1', '&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Benchmark2')&lt;/SPAN&gt;, Only(TOTAL {&amp;lt;[Product Name] = {'&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Benchmark1'}&lt;/SPAN&gt;&amp;gt;} &lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ThreeMonth), &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Only(TOTAL {&amp;lt;[Product Name] = {'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Benchmark2'}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ThreeMonth)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/163187_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 13:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336877#M412274</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-12T13:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336878#M412275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14945969030766328 jive_text_macro" jivemacro_uid="_14945969030766328"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD [Product Name], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeMonth&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[Example (1).xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet2);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join(Data)&lt;/P&gt;
&lt;P&gt;LOAD [Product Name], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Benchmark Name]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[Example (1).xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Left Join(Data)&lt;/P&gt;
&lt;P&gt;LOAD Distinct [Product Name] as [Benchmark Name],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ThreeMonth as ThreeMonthBenchMark&lt;/P&gt;
&lt;P&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Final:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; num(ThreeMonth-ThreeMonthBenchMark,'#0.00%') as Sum&lt;/P&gt;
&lt;P&gt;Resident Data;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table Data;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163184_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 13:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336878#M412275</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-05-12T13:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336879#M412276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works in principle so thank you, however the overall dataset has around 300k rows, about 6k Customers and 2k Benchmarks so doing that for that volume isn't practical, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used yours and altered it slightly using a Concat function to auto create the list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(ThreeMonth,&lt;/P&gt;&lt;P&gt;-Pick(Match([Benchmark Name], $(=chr(39) &amp;amp; concat(distinct [Benchmark Name], chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))), Only(TOTAL {&amp;lt;[Product Name] = {'Benchmark1'}&amp;gt;} ThreeMonth), Only(TOTAL {&amp;lt;[Product Name] = {'Benchmark2'}&amp;gt;} ThreeMonth)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I need to then also make the last part relevent to an increasing list of variable numbers, I could in theory remake that entire last section using Concat though and some variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 14:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336879#M412276</guid>
      <dc:creator />
      <dc:date>2017-05-12T14:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336880#M412277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this, I'll work on hard baking this into the data set at the load script level and confirm how I get on,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 14:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336880#M412277</guid>
      <dc:creator />
      <dc:date>2017-05-12T14:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336881#M412278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the version with dollar sign expansion... again it might not be a bad idea to do it in script.... but just want to throw out all possibilities &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ThreeMonth-Pick(Match([Benchmark Name], $(=chr(39) &amp;amp; concat(distinct [Benchmark Name], chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))), $(=Concat({&amp;lt;[Product Name] = {'Benchmark*'}&amp;gt;}DISTINCT 'Only(TOTAL {&amp;lt;[Product Name] = {' &amp;amp; Chr(39) &amp;amp; [Product Name] &amp;amp; Chr(39) &amp;amp; '}&amp;gt;} ThreeMonth)', ', ')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(ThreeMonth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Pick(Match([Benchmark Name], $(=chr(39) &amp;amp; concat(distinct [Benchmark Name], chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))), $(=Concat({&amp;lt;[Product Name] = {'Benchmark*'}&amp;gt;}DISTINCT 'Only(TOTAL {&amp;lt;[Product Name] = {' &amp;amp; Chr(39) &amp;amp; [Product Name] &amp;amp; Chr(39) &amp;amp; '}&amp;gt;} ThreeMonth)', ', '))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 15:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336881#M412278</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-12T15:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336882#M412279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, Stefan, Kushal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the suggestions, they have all worked on the test set of data and I thought that would be enough for me to switch across to the live data however potentially where I simplyfied the test data drastically was probably not ideal, as the "ThreeMonth" in the live data isn't actually a field but a calculated dimension front end that looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exp(sum({$&amp;lt;[Date.autoCalendar.MonthsAgo] = {"&amp;lt;=$(=Min([Date.autoCalendar.MonthsAgo] + 2))"}&amp;gt;}log(returncalc))) -1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a datafile that is a near exact match for what I'm working with, (with the content names changed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately is it still possible to do what you've done to this data set? I've struggled with switching it over&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 15:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336882#M412279</guid>
      <dc:creator />
      <dc:date>2017-05-15T15:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336883#M412280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be good to see what you expect returned with your data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I would model your data according to my previous suggested solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 18:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336883#M412280</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-15T18:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing fields in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336884#M412281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you so much for the assistance on this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 10:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-fields-in-Set-Analysis/m-p/1336884#M412281</guid>
      <dc:creator />
      <dc:date>2017-05-16T10:38:36Z</dc:date>
    </item>
  </channel>
</rss>

