<?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: Get in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get/m-p/749841#M267517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you don't have to use variables in this case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14206469607023971" jivemacro_uid="_14206469607023971"&gt;
&lt;P&gt;=Sum({$&amp;lt;AppDate={'$(=max(AppDate))'}&amp;gt;} Sales)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could work as well.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_147643_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74787_QlikCommunity_Thread_147643_Pic1.JPG" style="height: 359px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 16:11:51 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2015-01-07T16:11:51Z</dc:date>
    <item>
      <title>Get</title>
      <link>https://community.qlik.com/t5/QlikView/Get/m-p/749839#M267515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;I'm trying to use the enddate of a period decided by Year and Month selections on two listboxes (standard representation of master calendar) , and using this value to find the sales on this last date, using set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;So the flow of execution is planned to be like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal; direction: ltr;"&gt;&lt;LI style="font-style: normal; font-weight: normal;"&gt;&lt;P style="font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;The user select a period&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI style="color: #000000; font-family: 'Calibri','sans-serif'; font-size: 11pt; font-style: normal; font-weight: normal;"&gt;&lt;P style="color: #000000; font-family: 'Calibri','sans-serif'; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;This triggers qlik to calculate the variable vL.MaxSelectedDate (&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;date&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt; (&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;max&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;( &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;AppDate&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; line-height: 115%; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt; ) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI style="color: #000000; font-family: 'Calibri','sans-serif'; font-size: 11pt; font-style: normal; font-weight: normal;"&gt;&lt;P style="color: #000000; font-family: 'Calibri','sans-serif'; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-list: l0 level1 lfo1;"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US;"&gt;Then this variable should be sent back to calculate the sales on this particular date, by using set analysis. Se the formula below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; line-height: normal; font-family: 'Calibri','sans-serif'; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; ; mso-add-space: auto; mso-layout-grid-align: none;"&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; line-height: normal; font-family: 'Calibri','sans-serif'; font-size: 11pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; ; mso-add-space: auto; mso-layout-grid-align: none;"&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt; (&lt;BR /&gt; &lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;{$&amp;lt; &lt;BR /&gt; &lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;AppDate&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt; = { &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;$(=vL.MaxSelectedDate)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt; }&lt;BR /&gt; &lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;gt; }&lt;BR /&gt; &lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: 'Courier New'; font-size: 9pt; mso-ansi-language: EN-US;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;See the attached application for all details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; mso-ansi-language: EN-US; font-family: Calibri;"&gt;Any suggestions on how this can be solved, or if it is at all possible to solve.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 15:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get/m-p/749839#M267515</guid>
      <dc:creator />
      <dc:date>2015-01-07T15:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get</title>
      <link>https://community.qlik.com/t5/QlikView/Get/m-p/749840#M267516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Add an "=" to your variable def of vL.MaxSelectedDate. ie&lt;/P&gt;&lt;P&gt;=date (max(&amp;nbsp; AppDate ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Add single quotes to your set expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= &lt;/P&gt;&lt;P&gt;sum (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; {$&amp;lt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppDate = { &lt;STRONG&gt;'&lt;/STRONG&gt;$(=vL.MaxSelectedDate)&lt;STRONG&gt;'&lt;/STRONG&gt; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;gt; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sales&amp;nbsp; &lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get/m-p/749840#M267516</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-07T16:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get</title>
      <link>https://community.qlik.com/t5/QlikView/Get/m-p/749841#M267517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you don't have to use variables in this case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14206469607023971" jivemacro_uid="_14206469607023971"&gt;
&lt;P&gt;=Sum({$&amp;lt;AppDate={'$(=max(AppDate))'}&amp;gt;} Sales)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could work as well.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_147643_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74787_QlikCommunity_Thread_147643_Pic1.JPG" style="height: 359px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 16:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get/m-p/749841#M267517</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-07T16:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get</title>
      <link>https://community.qlik.com/t5/QlikView/Get/m-p/749842#M267518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not get this work right away so I put it away since I want to use variables and Rob's suggestion works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggestion took away the errormessage, so I could probably get it working if I started looking into it but since I have a working solution I will not pursue that right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get/m-p/749842#M267518</guid>
      <dc:creator />
      <dc:date>2015-01-08T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get</title>
      <link>https://community.qlik.com/t5/QlikView/Get/m-p/749843#M267519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 13:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get/m-p/749843#M267519</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-08T13:29:14Z</dc:date>
    </item>
  </channel>
</rss>

