<?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: Order By Month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224965#M23830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you sort by fiscal_month in your chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 10:42:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-02-07T10:42:26Z</dc:date>
    <item>
      <title>Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224961#M23826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I have to sort out the data by month wise,&lt;/P&gt;&lt;P&gt;for same purpose I written a script-code as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//compute the month-wise brokerage&lt;/P&gt;&lt;P&gt;Brokerage_QLIK:&lt;/P&gt;&lt;P&gt;LOAD Left(trade_date,6) as fiscal_month, &lt;/P&gt;&lt;P&gt;sum(brokerage) as Total_Brokerage&lt;/P&gt;&lt;P&gt;Resident Brokerage&lt;/P&gt;&lt;P&gt;Group by&amp;nbsp; Left(trade_date,6)&lt;/P&gt;&lt;P&gt;Order by 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But My Output data in Qliksense is not appearing as per required Order:PFA more details and help me please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224961#M23826</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-02-07T10:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224962#M23827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to present the monthdata by ascending order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224962#M23827</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-02-07T10:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224963#M23828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Brokerage_QLIK:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;fiscal_month&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(brokerage) as Total_Brokerage&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Group by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;fiscal_month&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD Date(Date#(Left(trade_date, 6), 'YYYYMM'), 'YYYYMM') as fiscal_month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brokerage&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident Brokerage;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224963#M23828</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-07T10:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224964#M23829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per your script,No changes in the data presentation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224964#M23829</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-02-07T10:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224965#M23830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you sort by fiscal_month in your chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224965#M23830</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-07T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224966#M23831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, using this script for data reconcillation purpose in Log file of qliksense, I have checked it by data reloading at the data model viewer using table preview mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224966#M23831</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-02-07T10:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224967#M23832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;
&lt;P&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-normalText"&gt;My whole script for the same for Qlik_data &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-normalText"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-normalText"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-normalText"&gt;$(Must_Include='lib://***************\DataPath\PathFile.txt')&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;2&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vQVD_Path&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;'$(vQvd_path_ODS_Transactions)'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;3&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vQVD_Name&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;'PLFMWISE_BRKG_TURNOVR'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;4&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;5&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;//ENTER EITHER vNoOfYears OR vFrom_Fiscal_Yr;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;6&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vNoOfYears&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;//INPUT SHOULD BE &amp;gt; 0 eg: 3 TO GET LAST 3 FISCAL YRS + 1 CURRENT FISCAL YR&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;7&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vFrom_Fiscal_Yr&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;'NONE'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt; &lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;// INPUT FORMAT eg: 'FY 2013' GETS DATA FROM FISCAL YR 2013 TO TILL NOW[2017 FISCAL YR]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;8&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vTable_Name&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;'Brokerage'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;9&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;10&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-normalText"&gt;$(Must_Include='*************************.qvs')&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;11&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;12&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;//brokerage summary for min date, max date &amp;amp; total brokerage&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;13&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-table" style="color: #8e477d; font-weight: bold;"&gt;BrokerageSummary&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;:&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;14&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;Load&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;15&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Min&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;trade_date&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;)&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;as&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;Min_Date&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;16&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Max&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;trade_date&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;)&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;as&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;Max_Date&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;17&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;brokerage&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;)&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;as&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;Total_Brokerage&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;18&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN class="cm-table" style="color: #8e477d; font-weight: bold;"&gt;Brokerage&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;19&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;20&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;21&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;//store the summary data into variables&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;22&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vFrom_Date&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;'Min_Date'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;'BrokerageSummary'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;23&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vTo_Date&lt;/SPAN&gt; &lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;'Max_Date'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;'BrokerageSummary'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;24&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;Let&lt;/SPAN&gt; &lt;SPAN class="cm-variable" style="color: #cc99cc; font-weight: bold;"&gt;vTotal_Brokerage&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;=&lt;/SPAN&gt; &lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;'Total_Brokerage'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;SPAN class="cm-string" style="color: #44751d;"&gt;'BrokerageSummary'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;25&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;26&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;//drop the summary table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;27&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;drop&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;table&lt;/SPAN&gt; &lt;SPAN class="cm-table" style="color: #8e477d; font-weight: bold;"&gt;BrokerageSummary&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;28&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;29&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;30&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;31&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-table" style="color: #8e477d; font-weight: bold;"&gt;Brokerage_QLIK&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;32&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LOAD&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;fiscal_month&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;33&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;brokerage&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;)&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;as&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;Total_Brokerage&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;34&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;Group&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;by&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;fiscal_month&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;35&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;LOAD&lt;/SPAN&gt; &lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Date&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-function" style="color: #6a8fde; font-weight: bold;"&gt;Left&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;(&lt;/SPAN&gt;&lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;trade_date&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;6&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;),&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;'YYYYMM'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;),&lt;/SPAN&gt; &lt;SPAN class="cm-string" style="color: #44751d;"&gt;'YYYYMM'&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;)&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;as&lt;/SPAN&gt; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;fiscal_month&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;36&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="cm-field" style="color: #cc9966; font-weight: bold;"&gt;brokerage&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;37&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN class="cm-table" style="color: #8e477d; font-weight: bold;"&gt;Brokerage&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;38&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;39&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;40&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-comment" style="color: #808080; font-style: italic;"&gt;//drop unwanted tables&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: Courier, monospace; font-size: 13px;"&gt;&lt;/P&gt;&lt;DIV class="CodeMirror-gutter-wrapper" style="background: none !important;"&gt;&lt;DIV class="CodeMirror-gutter-elt CodeMirror-linenumber" style="padding: 0 3px 0 5px; text-align: right; color: #999999;"&gt;41&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;PRE class="CodeMirror-line" style="padding: 0 4px; background: transparent; font-family: inherit; font-size: inherit; color: inherit;"&gt;&lt;SPAN style="padding: 0 0.1px 0 0;"&gt;&lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;drop&lt;/SPAN&gt; &lt;SPAN class="cm-keyword" style="color: #6a8fde; font-weight: bold;"&gt;table&lt;/SPAN&gt; &lt;SPAN class="cm-table" style="color: #8e477d; font-weight: bold;"&gt;Brokerage&lt;/SPAN&gt;&lt;SPAN class="cm-operator"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224967#M23832</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-02-07T10:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224968#M23833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Brokerage_QLIK_TEMP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Date(Date#(Left(trade_date, 6), 'YYYYMM'), 'YYYYMM') as fiscal_month1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brokerage&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Resident Brokerage;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Brokerage_QLIK&lt;/STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;fiscal_month1 as &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;fiscal_month&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;sum(brokerage) as Total_Brokerage&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Resident &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Brokerage_QLIK_TEMP&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;Group by &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;fiscal_month1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Order By &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;fiscal_month1&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;DROP Table &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;Brokerage_QLIK_TEMP&lt;/STRONG&gt;;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224968#M23833</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-07T10:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224969#M23834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thanks alot.,&lt;/P&gt;&lt;P&gt;your script given me correct result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 11:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224969#M23834</guid>
      <dc:creator>kakaderanjit53</dc:creator>
      <dc:date>2017-02-07T11:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Order By Month</title>
      <link>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224970#M23835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 12:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Order-By-Month/m-p/1224970#M23835</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-07T12:04:27Z</dc:date>
    </item>
  </channel>
</rss>

