<?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 Usage of variable in a Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211099#M65469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching the example..&lt;/P&gt;&lt;P&gt;May be some one can help me.&lt;/P&gt;&lt;P&gt;Thanks[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.49.52/Test.qvw]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 18:49:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-08T18:49:42Z</dc:date>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211097#M65467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Date(30.06.2009) set as a Variable(vDate) and assigned to a calenderobject. I want to use this variable in the Expression of a chart. if there are other fields like BegDate with 2 input fields =2005-01-01,2009-01-01 and EndDate with 2 input fields as 9999-12-31,2008-12-31&lt;/P&gt;&lt;P&gt;For ex:- If(vDate &amp;gt;=BegDate and vDate &amp;lt;=EndDate, cond1, cond2)&lt;/P&gt;&lt;P&gt;it must select the fields BegDate=2009-0-01 and EndDate=9999-12-31 and give the cond1 correctly&lt;/P&gt;&lt;P&gt;but that doesnot happen. Any ideas?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 16:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211097#M65467</guid>
      <dc:creator />
      <dc:date>2009-10-08T16:34:26Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211098#M65468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can't understand exactly what you are trying to do.&lt;/P&gt;&lt;P&gt;Could you post a QVW and expand on your description?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211098#M65468</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-10-08T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211099#M65469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching the example..&lt;/P&gt;&lt;P&gt;May be some one can help me.&lt;/P&gt;&lt;P&gt;Thanks[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.00.49.52/Test.qvw]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211099#M65469</guid>
      <dc:creator />
      <dc:date>2009-10-08T18:49:42Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211100#M65470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont understand either but the date formats you show in your post are inconsistent (dots and hyphens). Yo may need to use the date# function to ensure correct interpretation as dates.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211100#M65470</guid>
      <dc:creator />
      <dc:date>2009-10-08T18:52:11Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211101#M65471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sravan,&lt;/P&gt;&lt;P&gt;first:&lt;/P&gt;&lt;P&gt;you have to use date# as Gordon says. Then second, you have to use $(=VDate), third you have to enclose this in apostrophes like this:&lt;BR /&gt;date#('$(=VDate)','DD.MM.YYYY')&lt;BR /&gt;Forth: you have to use a aggregation, like = sum(if (.....&lt;BR /&gt;And fifth: it will NEVER work when the name of the variable is VDate and you use vDate in your expression.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211101#M65471</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T19:20:36Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211102#M65472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately one cannot edit one's own posts any more - I forgot to attach the modified test.qvw.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211102#M65472</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T19:24:49Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211103#M65473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joachim,&lt;/P&gt;&lt;P&gt;You are Great. Thanks&lt;/P&gt;&lt;P&gt;Fifth one is a little bit Spicy &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211103#M65473</guid>
      <dc:creator />
      <dc:date>2009-10-08T19:44:45Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211104#M65474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;spicy but true. It took me two minutes to modify the expression so that it should work and another 20 minutes to find out why it DIDN'T work. I already wanted to give up when suddenly I hade a horrible suspicion ;-).&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211104#M65474</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T19:57:39Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211105#M65475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@ Joachim&lt;/P&gt;&lt;P&gt;It is good but as I am using it in a Nested If statement usage of Sum is giving a syntax error..It doesnot suit in the Syntax..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211105#M65475</guid>
      <dc:creator />
      <dc:date>2009-10-08T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211106#M65476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for that. As I made the test example very fastly I made the Mistake..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211106#M65476</guid>
      <dc:creator />
      <dc:date>2009-10-08T20:04:16Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211107#M65477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, perhaps sum is not applicable, I used it only as an example. It's just that you should have an aggregat function in a pivot table expression; perhaps min or max or firststring could work.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211107#M65477</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T20:07:57Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211108#M65478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt; Vielendank it works&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211108#M65478</guid>
      <dc:creator />
      <dc:date>2009-10-08T20:30:57Z</dc:date>
    </item>
    <item>
      <title>Usage of variable in a Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211109#M65479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bestens! Gern geschehen!&lt;/P&gt;&lt;P&gt;LG&lt;/P&gt;&lt;P&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-variable-in-a-Expression/m-p/211109#M65479</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T20:33:13Z</dc:date>
    </item>
  </channel>
</rss>

