<?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 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/126463#M759314</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;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1537795-211893/pastedImage_0.png" target="_blank"&gt;&lt;IMG alt="" class="jive-image image-1" height="104" src="https://community.qlik.com/legacyfs/online/211894_pastedImage_0.png" width="170" /&gt;&lt;/A&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>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</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/126463#M759314</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;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1537795-211893/pastedImage_0.png" target="_blank"&gt;&lt;IMG alt="" class="jive-image image-1" height="104" src="https://community.qlik.com/legacyfs/online/211894_pastedImage_0.png" width="170" /&gt;&lt;/A&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/126463#M759314</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/126464#M759315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use a sheet with dimension : id,quarter,profit&lt;/P&gt;&lt;P&gt;and max(revenue) as measure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 06:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126464#M759315</guid>
      <dc:creator>ogautier62</dc:creator>
      <dc:date>2018-08-28T06:37:55Z</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/126465#M759316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Titus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(total &amp;lt;id,Proft&amp;gt;Revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211935_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126465#M759316</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-08-28T07:11:26Z</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/126466#M759317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr( max( Revenue),id,Profit)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 07:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126466#M759317</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-08-28T07:21:28Z</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/126467#M759318</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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1538154-211972/pastedImage_0.png"&gt;&lt;IMG alt="" class="jive-image image-1" height="91" src="https://community.qlik.com/legacyfs/online/211997_pastedImage_0.png" width="484" /&gt;&lt;/A&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:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-comparing-fields-in-two-columns-using-if-statement/m-p/126467#M759318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-28T13:10:43Z</dc:date>
    </item>
  </channel>
</rss>

