<?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 Field Comparison and true results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283177#M498321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope I got what you want, I think I might have not really understood your issue (an example might help, then):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Comparison1=Comparison2, results)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If zero values are suppressed in presentation tab, you will only see rows with Comparison1 equals Comparison2 (if Product, Comparison1 and Comparison2 are dimension, with above expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 15:54:30 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-08-18T15:54:30Z</dc:date>
    <item>
      <title>Field Comparison and true results</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283175#M498319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create one formula in the script to get the true results for a series&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have in the database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 353px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="70"&gt;Product&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="97"&gt;Comparison 1&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="97"&gt;Comparison 2&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none;" width="89"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;results&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: medium none;"&gt;a&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;8&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: medium none;"&gt;a&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: medium none;"&gt;a&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;3&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: medium none;"&gt;a&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;"&gt;4&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have a formula where the results only show the true value in the series and don't consider the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anybody help me to define the formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Leandro Duarte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 15:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283175#M498319</guid>
      <dc:creator />
      <dc:date>2011-08-18T15:46:58Z</dc:date>
    </item>
    <item>
      <title>Field Comparison and true results</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283176#M498320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not completely clear on what you are trying to do, but I think you could try an if statement, leaving off the else part, then supress null values.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 15:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283176#M498320</guid>
      <dc:creator />
      <dc:date>2011-08-18T15:54:27Z</dc:date>
    </item>
    <item>
      <title>Field Comparison and true results</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283177#M498321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope I got what you want, I think I might have not really understood your issue (an example might help, then):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Comparison1=Comparison2, results)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If zero values are suppressed in presentation tab, you will only see rows with Comparison1 equals Comparison2 (if Product, Comparison1 and Comparison2 are dimension, with above expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 15:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283177#M498321</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-18T15:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field Comparison and true results</title>
      <link>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283178#M498322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; How about an "IF" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know how yo get the number 2 in field results, but looks like if comparison 2 is &lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;= comparison 1 Then results. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If is that case I think It would be something like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If(Comparison 2 &lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;= Comparison 1, 2,)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp; Results Flag&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;then you have created a new field with just numbers 2 and blank spaces,&amp;nbsp; now you can use this field to make a new field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;len(Results Flag)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp; ResultsFlag2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If(ResultsFlag2 =2, 2,Null())&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as FinalResults Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;this new field has just the registres with just the values with number 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I hope thats what you are looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 16:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-Comparison-and-true-results/m-p/283178#M498322</guid>
      <dc:creator />
      <dc:date>2011-08-18T16:01:46Z</dc:date>
    </item>
  </channel>
</rss>

