<?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: Regarding comparing 2 field values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042634#M1222791</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Appreciate your time. I am trying to apply this in the chart expression,since the sales_vendor is an example but its the&amp;nbsp;vendor who logins into the report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(login_vendor =[Vendor],Amount,null())&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if condition takes lot of time to reload the chart. Is there any other alternative to remove this if condition.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 14:41:31 GMT</pubDate>
    <dc:creator>SK111</dc:creator>
    <dc:date>2023-02-27T14:41:31Z</dc:date>
    <item>
      <title>Regarding comparing 2 field values</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042101#M1222761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I appreciate your time. I am trying to compare 2 field values and show the&amp;nbsp; 3rd field called amount if they are same. I tried below but getting duplicate row.&lt;/P&gt;
&lt;P&gt;=if(sales_vendor = volume_vendor,amount,'-')&lt;/P&gt;
&lt;P&gt;I tried the above in an Qlik Sense table expression, but I am getting duplicate row. First row with amount and the second row with a '-'&lt;/P&gt;
&lt;P&gt;some thing like below&lt;/P&gt;
&lt;P&gt;sales_vendor,product,sales,amount&lt;/P&gt;
&lt;P&gt;1,A,10$,5&lt;/P&gt;
&lt;P&gt;1,A,10$,-&lt;/P&gt;
&lt;P&gt;I have unchecked to include null values option.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 21:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042101#M1222761</guid>
      <dc:creator>SK111</dc:creator>
      <dc:date>2023-02-24T21:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding comparing 2 field values</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042122#M1222762</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209953"&gt;@SK111&lt;/a&gt;&amp;nbsp;Could you please follow the below code:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load Sales_Vendor,&lt;BR /&gt;Product_Vendor,&lt;BR /&gt;if(Sales_Vendor=Product_Vendor,Amount,null()) as Amount&lt;/P&gt;
&lt;P&gt;inline [&lt;BR /&gt;Sales_Vendor, Product_Vendor, Amount&lt;BR /&gt;10,10,5&lt;BR /&gt;11,11,6&lt;BR /&gt;12,14,7&lt;BR /&gt;13,12,8&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;In your expression '-' is not considered as null, hence the issue.&lt;/P&gt;
&lt;P&gt;If my solution resolves your issue, please like and accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 06:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042122#M1222762</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2023-02-25T06:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding comparing 2 field values</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042634#M1222791</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Appreciate your time. I am trying to apply this in the chart expression,since the sales_vendor is an example but its the&amp;nbsp;vendor who logins into the report.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(login_vendor =[Vendor],Amount,null())&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if condition takes lot of time to reload the chart. Is there any other alternative to remove this if condition.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 14:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-comparing-2-field-values/m-p/2042634#M1222791</guid>
      <dc:creator>SK111</dc:creator>
      <dc:date>2023-02-27T14:41:31Z</dc:date>
    </item>
  </channel>
</rss>

