<?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 variable display and if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-display-and-if-condition/m-p/275334#M102776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. For getting the value of the variable you can use the variable name inside dollar expansion like $(varToday) in a text object or anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2. You can use condition like If($(File1)&amp;lt;Today(),$(File1),Today())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File1 has the text upper(date(if(match(num(weekday('$(varToday)')),0,1),'$(varToday)'-4,'$(varToday)'-2), 'DDMMM')) if you used SET keyword before it.If you use LET then it has the value returned by the method.&lt;/P&gt;&lt;P&gt;LET computes the value and set to the variable.&lt;/P&gt;&lt;P&gt;SET set the value as expression you assigned and you need to compute it using $(=varToday).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2012 07:22:54 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-02-13T07:22:54Z</dc:date>
    <item>
      <title>variable display and if condition</title>
      <link>https://community.qlik.com/t5/QlikView/variable-display-and-if-condition/m-p/275333#M102775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. How do we get variable values displayed in qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&amp;nbsp;&amp;nbsp; varToday = DATE(today(),'YYYY-MM-DD');&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see the value assigned to varToday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I would also like to know how "if condition" works in qlikview.&lt;/P&gt;&lt;P&gt;Eg: File1=upper(date(if(match(num(weekday('$(varToday)')),0,1),'$(varToday)'-4,'$(varToday)'-2), 'DDMMM')) &lt;/P&gt;&lt;P&gt;What will be the value in File1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 07:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-display-and-if-condition/m-p/275333#M102775</guid>
      <dc:creator />
      <dc:date>2012-02-13T07:10:02Z</dc:date>
    </item>
    <item>
      <title>variable display and if condition</title>
      <link>https://community.qlik.com/t5/QlikView/variable-display-and-if-condition/m-p/275334#M102776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1. For getting the value of the variable you can use the variable name inside dollar expansion like $(varToday) in a text object or anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2. You can use condition like If($(File1)&amp;lt;Today(),$(File1),Today())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File1 has the text upper(date(if(match(num(weekday('$(varToday)')),0,1),'$(varToday)'-4,'$(varToday)'-2), 'DDMMM')) if you used SET keyword before it.If you use LET then it has the value returned by the method.&lt;/P&gt;&lt;P&gt;LET computes the value and set to the variable.&lt;/P&gt;&lt;P&gt;SET set the value as expression you assigned and you need to compute it using $(=varToday).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 07:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-display-and-if-condition/m-p/275334#M102776</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-13T07:22:54Z</dc:date>
    </item>
  </channel>
</rss>

