<?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: Dollar Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630455#M477010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 12px; font-family: Arial, sans-serif;"&gt;Can you show your app?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 06:34:51 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-05-13T06:34:51Z</dc:date>
    <item>
      <title>Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630446#M477001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if anyone has an "Idiots guide to dollar syntax"?, further more if anyone has a similar "idiots guide to Set Analysis"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 04:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630446#M477001</guid>
      <dc:creator />
      <dc:date>2014-05-13T04:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630447#M477002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/520854"&gt;Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630447#M477002</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-13T05:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630448#M477003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below post might help you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4708"&gt;Romancing with Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Even I have some basic attachment that might help you.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630448#M477003</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-05-13T05:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630449#M477004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ashfaq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read a similar document, my problem now is how to incorporate a variable into this, say for example in the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 12px;"&gt;Sum({$&amp;lt;Year={2008}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 12px;"&gt;I want to replace 2008 with the max year in the set, for which i have already created a variable called vMxYear. Qlikview rejects the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; font-family: Arial, sans-serif;"&gt;Sum({$&amp;lt;Year={vMxYear}&amp;gt;} Sales) and also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; font-family: Arial, sans-serif;"&gt;Sum({$&amp;lt;Year={$(&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 12px;"&gt;vMxYear&lt;/SPAN&gt;)}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; font-family: Arial, sans-serif;"&gt;Cheers&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630449#M477004</guid>
      <dc:creator />
      <dc:date>2014-05-13T05:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630450#M477005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi may be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={'$(=vMxYear)'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630450#M477005</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-05-13T06:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630451#M477006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will give it a try...thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630451#M477006</guid>
      <dc:creator />
      <dc:date>2014-05-13T06:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630452#M477007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok that works, but it only works when the particular year is selected, how do i change it so that regardless of what is selected, that calculation returns only the last Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630452#M477007</guid>
      <dc:creator />
      <dc:date>2014-05-13T06:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630453#M477008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that vMxYear is a variable. Define the variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Max(Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(the = sign is included in the definition, so this variable always returns the maximum possible year. The max possible year is the maximum in the data set if nothing is selected, or the maximum of the selected values if one or more year is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use it as described previously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630453#M477008</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-05-13T06:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630454#M477009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but not working, if nothing is selected and everything is exactly as you guys told me to do, it sums everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630454#M477009</guid>
      <dc:creator />
      <dc:date>2014-05-13T06:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630455#M477010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 12px; font-family: Arial, sans-serif;"&gt;Can you show your app?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630455#M477010</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-13T06:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630456#M477011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two possible causes:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Year is not properly linked to the fact table in your model, so selecting year does not change the totals.&lt;/LI&gt;&lt;LI&gt;vMaxYear is not working properly.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check the first, verify the that the Sums or Counts change when you make a selection of Year. If necessary, add a Year list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check the second, create a new chart/table, enter&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;Year={'$(=vMxYear)'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the expression. Do not enter an expression label. Now the table caption should display the expression without the $ expansion and the column label should display the expression with the dollar expansion. That should give you a clue as to what's happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 06:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630456#M477011</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-05-13T06:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dollar Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630457#M477012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All, &lt;/P&gt;&lt;P&gt;Got it working, would help in future if i actually remembered that my Fields are not named the same &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 08:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dollar-Syntax/m-p/630457#M477012</guid>
      <dc:creator />
      <dc:date>2014-05-13T08:05:45Z</dc:date>
    </item>
  </channel>
</rss>

