<?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: where to put variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100927#M463070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(sum( {&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vdate)&lt;/STRONG&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;avg({&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vdate)&amp;gt;&lt;/STRONG&gt;}units)&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;,&lt;/STRONG&gt;Date, top,Work&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; )&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) ,'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2016 10:28:24 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2016-08-01T10:28:24Z</dc:date>
    <item>
      <title>where to put variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100925#M463068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;i have&amp;nbsp; a variable &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set vdate= 'date=,week=';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and i have a exp:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(sum(&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;avg(units),Date, top,Work&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; )&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) ,'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i want to add a varible in to this exp ,i tried over here&amp;nbsp; which is not working&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(sum(&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;avg(units),&lt;STRONG&gt;$(vdate),&lt;/STRONG&gt;Date, top,Work&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; )&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) ,'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;so where should i need to put this variable so that if i select any date&amp;nbsp; it should not reflect my chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;naveen&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 10:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100925#M463068</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-08-01T10:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: where to put variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100926#M463069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;$(vdate)&amp;gt;}&lt;/SPAN&gt; Aggr(Avg(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;$(vdate)&amp;gt;}&lt;/SPAN&gt; units), Date, top, Work)) ,'#,##0')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 10:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100926#M463069</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-01T10:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: where to put variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100927#M463070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Num(sum( {&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vdate)&lt;/STRONG&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;avg({&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(vdate)&amp;gt;&lt;/STRONG&gt;}units)&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;,&lt;/STRONG&gt;Date, top,Work&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; )&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) ,'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 10:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100927#M463070</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-08-01T10:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: where to put variable</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100928#M463071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not the vDate Variable be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDate = Max(Date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can get the values from your selected Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you, if not please tell me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 10:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-variable/m-p/1100928#M463071</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-08-01T10:32:23Z</dc:date>
    </item>
  </channel>
</rss>

