<?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: Compare two  variable in Set Analysis as left and right operands in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333816#M1170268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not working out dude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its returning me result as count(ItemCode) no filtering at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me discribe little bit more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2 = {'&amp;gt;$(Max_Creation_PIDE1)'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;}ItemCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above script you can find the filed viz &lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2&lt;/STRONG&gt; which contain more the one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I drop &lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2&lt;/STRONG&gt; as a list box and select one of the values listed. After that I find its working as required by Client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to avoid the select I created a variable as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let Max_CreationDate_PIDE2=Max(&lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2&lt;/STRONG&gt;) which surely holds one max value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I change the above count script as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;=count(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;'$(Max_CreationDate_PIDE2)' = {'&amp;gt;$(Max_Creation_PIDE1)'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;gt;}ItemCode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is not working out because of two variables in set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2012 11:59:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-02T11:59:38Z</dc:date>
    <item>
      <title>Compare two  variable in Set Analysis as left and right operands</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333814#M1170266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Assistance to figure out the following scenario :&lt;/P&gt;&lt;P&gt;How to Compare two&amp;nbsp; variable in Set Analysis as left and right operands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=count(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;{&amp;lt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;'$(Max_CreationDate_PIDE2)' = {'&amp;gt;$(Max_Creation_PIDE1)'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;gt;}ItemCode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Try it at my end, but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out in the following scenario .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333814#M1170266</guid>
      <dc:creator />
      <dc:date>2012-08-02T11:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two  variable in Set Analysis as left and right operands</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333815#M1170267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(if( Max_CreationDate_PIDE2=Max_Creation_PIDE1,1,0))&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, 02 Aug 2012 11:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333815#M1170267</guid>
      <dc:creator />
      <dc:date>2012-08-02T11:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two  variable in Set Analysis as left and right operands</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333816#M1170268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not working out dude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its returning me result as count(ItemCode) no filtering at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me discribe little bit more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2 = {'&amp;gt;$(Max_Creation_PIDE1)'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;}ItemCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above script you can find the filed viz &lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2&lt;/STRONG&gt; which contain more the one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I drop &lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2&lt;/STRONG&gt; as a list box and select one of the values listed. After that I find its working as required by Client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to avoid the select I created a variable as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let Max_CreationDate_PIDE2=Max(&lt;STRONG&gt;Items.Max_CreationDate_ProcedureIDE2&lt;/STRONG&gt;) which surely holds one max value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I change the above count script as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;=count(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;'$(Max_CreationDate_PIDE2)' = {'&amp;gt;$(Max_Creation_PIDE1)'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;gt;}ItemCode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is not working out because of two variables in set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:59:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333816#M1170268</guid>
      <dc:creator />
      <dc:date>2012-08-02T11:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two  variable in Set Analysis as left and right operands</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333817#M1170269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 10pt;"&gt;Hi,&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; font-size: 10pt;"&gt;It will be good if you can post the sample application. Please scramble the data if it's sensitive.&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; font-size: 10pt;"&gt;Meanwhile, have you tried to use intersection of two sets? Something like this but I guessing here...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="color: #800000; font-size: 10pt; font-family: calibri,verdana,arial,sans-serif;"&gt;=count(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="color: #800000; font-size: 10pt; font-family: calibri,verdana,arial,sans-serif;"&gt;{&amp;lt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="color: #800000; font-size: 10pt; font-family: calibri,verdana,arial,sans-serif;"&gt;Items.Max_CreationDate_ProcedureIDE2 = &lt;BR /&gt;{'$(Max_CreationDate_PIDE2)'} * {'&amp;gt;$(Max_Creation_PIDE1)'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="color: #800000; font-size: 10pt; font-family: calibri,verdana,arial,sans-serif;"&gt;&amp;gt;}ItemCode)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 10pt;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 10pt;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif; font-size: 10pt;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Aug 2012 18:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-two-variable-in-Set-Analysis-as-left-and-right-operands/m-p/333817#M1170269</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-08-04T18:07:08Z</dc:date>
    </item>
  </channel>
</rss>

