<?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: help comparing fields in two columns using if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126394#M759347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a straight or pivot table, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Count(TOTAL &amp;lt;id&amp;gt; Quarter) &amp;gt; 1 And Count(TOTAL &amp;lt;id&amp;gt; Distinct Profit) = 1, Max(TOTAL &amp;lt;id&amp;gt; Revenue), Revenue)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2018 11:09:32 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-08-28T11:09:32Z</dc:date>
    <item>
      <title>help comparing fields in two columns using if statement</title>
      <link>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126392#M759345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey everyone, I am relatively new to the community. I have a question. I have a table shown below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="211893" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211893_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a statement that will select the higher revenue if profit in Q1 and Q2 of id 1 are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126392#M759345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: help comparing fields in two columns using if statement</title>
      <link>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126393#M759346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you looking to do this? in a straight table or another object? What are you dimensions in the object? Can you supply us with a sample to check this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 11:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126393#M759346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-28T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: help comparing fields in two columns using if statement</title>
      <link>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126394#M759347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a straight or pivot table, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Count(TOTAL &amp;lt;id&amp;gt; Quarter) &amp;gt; 1 And Count(TOTAL &amp;lt;id&amp;gt; Distinct Profit) = 1, Max(TOTAL &amp;lt;id&amp;gt; Revenue), Revenue)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 11:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126394#M759347</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-08-28T11:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: help comparing fields in two columns using if statement</title>
      <link>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126395#M759348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys for the response, so this is the main table. Please dont mind the erased part, they are same number&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211972_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;as you can see different plants have different storage locations. I need another field that will serve as a flag to indicate the higher current stock if the storage locations are same but different plants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that makes sense. Please your response will be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 13:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126395#M759348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-28T13:08:51Z</dc:date>
    </item>
  </channel>
</rss>

