<?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: Conditional expression Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1530035#M746904</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Perfect explanation and solution.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 13:59:50 GMT</pubDate>
    <dc:creator>300sss300</dc:creator>
    <dc:date>2019-01-14T13:59:50Z</dc:date>
    <item>
      <title>Conditional expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1529753#M746902</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;In retail performance executive dashboard the following conditions have been used in Top Store by Sales table:&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;1. Sales (conditional) vTop=1&lt;/P&gt;&lt;P&gt;2. Fresh Food Sales&amp;nbsp; vTop=2&lt;/P&gt;&lt;P&gt;3. Customer Satis vTop=3&lt;/P&gt;&lt;P&gt;and in icon the following values have been assigned to the variable vTop&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;=if(vTop&amp;lt;3, $(vTop)+1, $(vTop)-2)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;just wanna understand and learn 2 things:&lt;/P&gt;&lt;P&gt;a) what is the meaning of saying if vTop&amp;lt;3 then vTop&lt;STRONG&gt;&lt;FONT size="3" color="#FF0000"&gt;+1&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;FONT color="#000000"&gt;else vTop-2 could not understand +1 and -2 if anyone please explain in detail.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;FONT color="#000000"&gt;b) what if we have another expression with condition vTop=4 then what will be value for variable vTop in action section.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#FF0000"&gt;&lt;FONT color="#000000"&gt;Best Regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1529753#M746902</guid>
      <dc:creator>300sss300</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1529821#M746903</link>
      <description>&lt;P&gt;The expression causes the variable to cycle 1, 2, 3, 1, 2, 3... as the action is triggered.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For 4 values&lt;BR /&gt;&lt;EM&gt;=if(vTop &amp;lt; 4, vTop + 1, vTop - 3)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Or use Mod:&lt;BR /&gt;&lt;EM&gt;=Mod(vTop, 4) + 1&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 06:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1529821#M746903</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-14T06:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression Query</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1530035#M746904</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Perfect explanation and solution.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 13:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-expression-Query/m-p/1530035#M746904</guid>
      <dc:creator>300sss300</dc:creator>
      <dc:date>2019-01-14T13:59:50Z</dc:date>
    </item>
  </channel>
</rss>

