<?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: Set expression in a set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128880#M601467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi youssef, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much, this solved my problem perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know yet: When do I use double comma (") and when single comma (')?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any suggestion to learn Set Expression beside the QlikView-manual?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 08:47:11 GMT</pubDate>
    <dc:creator>jakobjosef</dc:creator>
    <dc:date>2018-10-03T08:47:11Z</dc:date>
    <item>
      <title>Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128877#M601464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does someone know if it is possible to use a set expression an a set expression? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show Sales starting from 01.10.2017 until the last day of previous month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I used this expression. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214911_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Every month, I have to update the "Last day of the previous month" in many tables and charts. So now I thought I could create a variable with "the last day of the month", where I just have to update the date once in the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried: &lt;/P&gt;&lt;P&gt;vLastDayofPreviousMonth = 43737 (which is 30.09.2018)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;date= {'&amp;lt;43008 &amp;lt; &lt;SPAN style="color: #ff0000;"&gt;$(vLastDayofPreviousMonth&lt;/SPAN&gt;) } &amp;gt; } Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it didnt work. Maybe someone has a hint for me to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 14:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128877#M601464</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-10-02T14:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128878#M601465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;date = {"$(='&amp;gt;' &amp;amp; 43008 &amp;amp; '&amp;lt;' &amp;amp; Num(MonthStart(Today()) - 1))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 14:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128878#M601465</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-02T14:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128879#M601466</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;you can try something like this (100% dynamic):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;date={"&amp;gt;$(=AddYears(MonthStart(Today()),-1))&amp;lt;$(=MonthEnd(Today(),-1))"}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PS: verify the format of your date field, it should be exactly the same than the output of the functions inside the variables&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 14:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128879#M601466</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-10-02T14:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128880#M601467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi youssef, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much, this solved my problem perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know yet: When do I use double comma (") and when single comma (')?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any suggestion to learn Set Expression beside the QlikView-manual?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 08:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128880#M601467</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-10-03T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128881#M601468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look here: &lt;A href="https://community.qlik.com/qlik-blogpost/5335"&gt;Quotes in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 08:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128881#M601468</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-10-03T08:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128882#M601469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here it is Jakob, the above link &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to close the thread if it is ok for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 08:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128882#M601469</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-10-03T08:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128883#M601470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar requirement recently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the user wanted to select one&amp;nbsp; MonthYear and have a Month total shown and also a YTD figure shown from 1/10/17 to say 30/9/18 (when selecting MonthYear Sept 2018.) But to show 1/10/18 to 31/10/18 when selecting Oct 2018. Or 1/10/16 to 31/8/17 when selecting Aug 17 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this using MonthAgo. Its another way of achieving the same thing without having to change the variable each month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3157"&gt;Relative Calendar Fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SUM({&amp;lt;&lt;/P&gt;&lt;P&gt; YearFin = { "=$(=(YearFin))"} &lt;/P&gt;&lt;P&gt;,MonthsAgo = { "&amp;gt;=$(=min(MonthsAgo))&amp;nbsp; "}, MonthYear&amp;nbsp; = &lt;/P&gt;&lt;P&gt;&amp;gt;}ActualValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214976_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-SUM({&amp;lt;&lt;/P&gt;&lt;P&gt;,MonthsAgoYTD = { "&amp;gt;=$(=MonthsAgoYTD)"}&amp;nbsp;&amp;nbsp; , MonthYear&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;,fYear = {"$(=(fYear)-1)"} &lt;/P&gt;&lt;P&gt;&amp;gt;}ActualValue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128883#M601470</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2018-10-03T09:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128884#M601471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect, thank you very very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128884#M601471</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-10-03T09:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128885#M601472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to mark the correct answer is closing the thread, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128885#M601472</guid>
      <dc:creator>jakobjosef</dc:creator>
      <dc:date>2018-10-03T09:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression in a set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128886#M601473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, already done &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-in-a-set-expression/m-p/128886#M601473</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-10-03T09:41:10Z</dc:date>
    </item>
  </channel>
</rss>

