<?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 prior month transaction where code less than 7000 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775216#M1048422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what im trying to do is trying to get the straight table to display GL transactions for current month where GLCode is &amp;lt;7000 and also previous months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently I have &lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;vPriorMonth&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postingDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), -1,0), 'MMM-YY')&amp;nbsp; // this will give the previous month name and year and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=fabs(sum {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;mySubCode&lt;/SPAN&gt; = {'&amp;lt;7000'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;accountNetAmount&lt;/SPAN&gt; )) // this will return all transactions with GLcode less than 7000 and convert the &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt; to &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;how may I combine the two together? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I've tried using &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthYearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(vCurrentMonth)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postingDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountNetAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; works same way as sum(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountNetAmount&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;this gave me the values for current month, but does not exclude GLCode greater than 7000, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then i tried : &lt;SPAN style="font-size: 8pt;"&gt;sum ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthYearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(&lt;SPAN style="font-size: 8pt;"&gt;vPriorMonth &lt;/SPAN&gt;)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postingDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountNetAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) this gave me 0 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 02:40:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-06T02:40:00Z</dc:date>
    <item>
      <title>prior month transaction where code less than 7000</title>
      <link>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775216#M1048422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what im trying to do is trying to get the straight table to display GL transactions for current month where GLCode is &amp;lt;7000 and also previous months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently I have &lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;vPriorMonth&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;addmonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postingDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), -1,0), 'MMM-YY')&amp;nbsp; // this will give the previous month name and year and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=fabs(sum {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;mySubCode&lt;/SPAN&gt; = {'&amp;lt;7000'}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;accountNetAmount&lt;/SPAN&gt; )) // this will return all transactions with GLcode less than 7000 and convert the &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt; to &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;how may I combine the two together? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I've tried using &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sum ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthYearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(vCurrentMonth)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postingDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountNetAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;nbsp; works same way as sum(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountNetAmount&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;this gave me the values for current month, but does not exclude GLCode greater than 7000, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then i tried : &lt;SPAN style="font-size: 8pt;"&gt;sum ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthYearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(&lt;SPAN style="font-size: 8pt;"&gt;vPriorMonth &lt;/SPAN&gt;)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YearPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthPosting&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;postingDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;accountNetAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) this gave me 0 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 02:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775216#M1048422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T02:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: prior month transaction where code less than 7000</title>
      <link>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775217#M1048423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I think that you want to calculate YTD to the max selected YearMonth.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;MonthId&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;"&amp;gt;=1&amp;lt;=$(vMonth)"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Volume&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 04:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775217#M1048423</guid>
      <dc:creator>djsampat</dc:creator>
      <dc:date>2014-11-06T04:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: prior month transaction where code less than 7000</title>
      <link>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775218#M1048424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gives me same answer as =sum(accountNetAmount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 19:47:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775218#M1048424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T19:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: prior month transaction where code less than 7000</title>
      <link>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775219#M1048425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do i need to create a master calendar for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 20:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775219#M1048425</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-06T20:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: prior month transaction where code less than 7000</title>
      <link>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775220#M1048426</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;View this sample YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7369"&gt;YTD Calculation by Month&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helped you, please mark as Helpful. If it solves your issue, please mark as Answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dhruv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 01:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prior-month-transaction-where-code-less-than-7000/m-p/775220#M1048426</guid>
      <dc:creator>djsampat</dc:creator>
      <dc:date>2014-11-07T01:12:26Z</dc:date>
    </item>
  </channel>
</rss>

