<?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 two fields in Load Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627367#M594702</link>
    <description>&lt;P&gt;Re,&lt;/P&gt;&lt;P&gt;Try it and this works perfectly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help !&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2019 10:37:20 GMT</pubDate>
    <dc:creator>Black_Hole</dc:creator>
    <dc:date>2019-09-24T10:37:20Z</dc:date>
    <item>
      <title>Comparing two fields in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627154#M594697</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I compare two fields in a load statement. But, the result is not correct.&lt;/P&gt;&lt;P&gt;Below the detail of my script and in the attached file the output this script :&lt;/P&gt;&lt;P&gt;[Temp_1]:&lt;BR /&gt;LOAD DISTINCT&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item_No,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(NewTaux2&amp;lt;(OldRatio*100), OldRatio*100 &amp;amp; '%', NewTaux2) As NewRatio&lt;BR /&gt;RESIDENT Temp_0;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please could you tell me what's wrong in my script.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627154#M594697</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2024-11-16T20:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two fields in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627168#M594698</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Temp_1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD DISTINCT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item_No,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(NewTaux2&amp;lt;(OldRatio*100), OldRatio*100 &amp;amp; '%', NewTaux2) As NewRatio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Item no, NewTaux2, OldRatio&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;51256, 90% ,0.2];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You are getting the correct output as I see it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If (90%&amp;lt;20, 20%, 90%) should return 20%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please explain your desired result.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 21:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627168#M594698</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-23T21:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two fields in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627289#M594699</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My purpose is to return the upper value between NewTaux2 and OldRatio.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So, if NewTaux2 is upper than OldRatio then NewRatio is equal to NewTaux2.&lt;/P&gt;&lt;P&gt;Else, that's mean that NewTaux2 is lower than OldRatio and per consequent&amp;nbsp;NewRatio is equal to&amp;nbsp;OldRatio.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please how can I modify my expression in order to return the result describe above.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 08:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627289#M594699</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-09-24T08:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two fields in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627352#M594701</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Try &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;num(rangemax(NewTaux2,OldRatio), '0%')&amp;nbsp; As NewRatio&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627352#M594701</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-24T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two fields in Load Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627367#M594702</link>
      <description>&lt;P&gt;Re,&lt;/P&gt;&lt;P&gt;Try it and this works perfectly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help !&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 10:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-fields-in-Load-Statement/m-p/1627367#M594702</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-09-24T10:37:20Z</dc:date>
    </item>
  </channel>
</rss>

