<?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: using functions within set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413047#M811883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this with the NumMonth and Year field also which is dynamic to you also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=&lt;SPAN lang="EN" style="font-size: 10pt; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;YearField =&amp;nbsp; {"&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(=Max(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;YearField))"&lt;/STRONG&gt;}, NumMonth={"&lt;STRONG&gt;$(=Max(NumMonth))&lt;/STRONG&gt;"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2017 06:42:59 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2017-09-26T06:42:59Z</dc:date>
    <item>
      <title>using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413041#M811877</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;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #17365d; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;In set analysis, can I use function to specify criteria? For example, I have date field available and I want to add up the current year data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #17365d; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;Can I do something like &lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;sum({&amp;lt;YearName(date)= YearName&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;{'$(=vCurrentCMonthYear)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 10pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 10pt;"&gt;Seems like it does not work as there probably different syntax I shoulde use for &lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #3d3d3d; font-family: 'Helvetica','sans-serif'; font-size: 10pt; mso-ansi-language: EN;"&gt;YearName(date)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413041#M811877</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413042#M811878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Posting Date] = {"=YearName(Today())"}&amp;gt;}[Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your value in &lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333px;"&gt;&lt;STRONG&gt;vCurrentCMonthYear&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413042#M811878</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-09-26T06:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413043#M811879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No not this ways what is the value in &lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 13.3333px;"&gt;vCurrentCMonthYear&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413043#M811879</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-26T06:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413044#M811880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, You can't as Qlik has limit of left part of equal symbol not entry with calculated &lt;/P&gt;&lt;P&gt;You can try That in script like &lt;STRONG&gt;YearName(date) as date_set&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call it as&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="font-size: 10pt; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;&lt;STRONG&gt;date_set&lt;/STRONG&gt;= {&lt;STRONG&gt;'$(=YearName(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG&gt;vCurrentCMonthYear))'&lt;/STRONG&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;You can play with variable if equal / single quote issues ..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413044#M811880</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-26T06:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413045#M811881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, that is what I want to confirm before going to the variable part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413045#M811881</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2017-09-26T06:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413046#M811882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is the current month and year like Sep-2017&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413046#M811882</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2017-09-26T06:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: using functions within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413047#M811883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this with the NumMonth and Year field also which is dynamic to you also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=&lt;SPAN lang="EN" style="font-size: 10pt; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;YearField =&amp;nbsp; {"&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;$(=Max(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;YearField))"&lt;/STRONG&gt;}, NumMonth={"&lt;STRONG&gt;$(=Max(NumMonth))&lt;/STRONG&gt;"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: maroon;"&gt;Amount&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New'; color: black;"&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 06:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-functions-within-set-analysis/m-p/1413047#M811883</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-09-26T06:42:59Z</dc:date>
    </item>
  </channel>
</rss>

