<?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: How to Convert this Set Expression in Qlikscriptset in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379653#M814347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The question is: is it about static MTD flag or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 08:59:40 GMT</pubDate>
    <dc:creator>tomasz_tru</dc:creator>
    <dc:date>2017-09-20T08:59:40Z</dc:date>
    <item>
      <title>How to Convert this Set Expression in Qlikscriptset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379650#M814344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;MTD:sum({$&amp;lt;[Process Date]={"&amp;gt;=$(=MonthStart(Max([Process Date]))) &amp;lt;=$(=Max([Process Date]))"}, [Week ID]=&amp;gt;}[Sales Amt])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to convert this above set expression in qlikscript so that I can write in&amp;nbsp; load script??&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/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379650#M814344</guid>
      <dc:creator>anindya_manna</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert this Set Expression in Qlikscriptset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379651#M814345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't prefer this to use in script and that we don't have same in script..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 08:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379651#M814345</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-20T08:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert this Set Expression in Qlikscriptset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379652#M814346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Set analysis (used in your expression) is used to control selection in the front-end. In script, you don't have the scope of knowing about selection, so you can't handle it there. That means, set analysis-based expression can't be replicated in script. &lt;EM&gt;Hence, it is not feasible and not recommended too,&lt;/EM&gt; because calculations in the back-end reduces the flexibility of analysis; once the number is calculated in script, that is static; you can't calculate them in different granularity or filters that were not considered in script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;And yes, if you wish to calculate the number irrespective of selection consideration and against a dimension or on overall data set, that would be possible to do in the script. However, the the question of &lt;EM&gt;how effective that would be&lt;/EM&gt; still persists.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 08:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379652#M814346</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-20T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert this Set Expression in Qlikscriptset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379653#M814347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The question is: is it about static MTD flag or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 08:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379653#M814347</guid>
      <dc:creator>tomasz_tru</dc:creator>
      <dc:date>2017-09-20T08:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert this Set Expression in Qlikscriptset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379654#M814348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a workaround you can create a summary table with MTD sales amount values (refer below sample script).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SummaryTable:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Process Date]&lt;/SPAN&gt;) AS Year,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Process Date]&lt;/SPAN&gt;) AS Month,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Sales Amt]&lt;/SPAN&gt;) AS MTD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident SalesTable&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GROUP BY &lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;Year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Process Date]&lt;/SPAN&gt;),&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Process Date]&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;P.S.: Data available in the &lt;SPAN style="font-size: 13.3333px;"&gt;SummaryTable&lt;/SPAN&gt; will at month level granularity only.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Rahul &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 09:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379654#M814348</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-09-20T09:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Convert this Set Expression in Qlikscriptset</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379655#M814349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, indeed. And if so, Anindya might want to use &lt;STRONG&gt;InMonthToDate()&lt;/STRONG&gt; in the script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 09:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Convert-this-Set-Expression-in-Qlikscriptset/m-p/1379655#M814349</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-09-20T09:20:28Z</dc:date>
    </item>
  </channel>
</rss>

