<?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 IF expression with variable isn't working as expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539633#M439359</link>
    <description>&lt;P&gt;if(encours_date_forescast='$(vpop1)',encours_qte_forescast ) as newone1, and the variable value is&lt;/P&gt;&lt;P&gt;LET vpop1 ='=only({&amp;lt;idDateStkP={1}&amp;gt;}[date stock projection])';&lt;/P&gt;&lt;P&gt;when i use newone1 in the chart expression, the value isn't coming as expected. chart expression is given below&lt;/P&gt;&lt;P&gt;aggr(sum(newone1 * $(vfilter5)))&lt;/P&gt;&lt;P&gt;can you guys help to find a solution on this one&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:33:26 GMT</pubDate>
    <dc:creator>lprasanth</dc:creator>
    <dc:date>2024-11-16T04:33:26Z</dc:date>
    <item>
      <title>IF expression with variable isn't working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539633#M439359</link>
      <description>&lt;P&gt;if(encours_date_forescast='$(vpop1)',encours_qte_forescast ) as newone1, and the variable value is&lt;/P&gt;&lt;P&gt;LET vpop1 ='=only({&amp;lt;idDateStkP={1}&amp;gt;}[date stock projection])';&lt;/P&gt;&lt;P&gt;when i use newone1 in the chart expression, the value isn't coming as expected. chart expression is given below&lt;/P&gt;&lt;P&gt;aggr(sum(newone1 * $(vfilter5)))&lt;/P&gt;&lt;P&gt;can you guys help to find a solution on this one&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539633#M439359</guid>
      <dc:creator>lprasanth</dc:creator>
      <dc:date>2024-11-16T04:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF expression with variable isn't working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539634#M439360</link>
      <description>not sure you can use set analysis in such a way in script.</description>
      <pubDate>Tue, 05 Feb 2019 12:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539634#M439360</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-05T12:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: IF expression with variable isn't working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539641#M439361</link>
      <description>&lt;P&gt;There are multiple moving parts in your example... are you able to share a sample to show what you have and trying to achieve? May be there is a better way to program this&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 13:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539641#M439361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-05T13:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: IF expression with variable isn't working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539680#M439363</link>
      <description>Set analysis cannot be used in script.&lt;BR /&gt;as sunny says not knowing your scenario difficult to help properly&lt;BR /&gt;but on face value, i would say you will need to use peek function (and possibly some sort of resident load with a where condition idDateStkP=1 ) to load the variable</description>
      <pubDate>Tue, 05 Feb 2019 13:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-expression-with-variable-isn-t-working-as-expected/m-p/1539680#M439363</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-02-05T13:54:56Z</dc:date>
    </item>
  </channel>
</rss>

