<?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 Month vs Quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854056#M299391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a tricky problem here. I have a pivot table as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 314px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Months&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="72"&gt;Q1&lt;/TD&gt;&lt;TD class="xl70" width="72"&gt;Q2&lt;/TD&gt;&lt;TD class="xl64" width="72"&gt;Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;BG_bench&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt;Bench, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench, USD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Engineering&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;30,864&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Genesys&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;International Other&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Kyivstar&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Lindorff&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Ukraine other&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;30,864&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;77,420&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;180,906&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a condition for Becnch USD calculation depending on the period, if it is &amp;gt; or &amp;lt; than current month&lt;/P&gt;&lt;P&gt;My expression:&lt;/P&gt;&lt;P&gt;IF(Month_Date&amp;gt;=(vCurMonth),Sum(Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&amp;gt;}Fact_bench))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when it comes to quarters it doesnt give me the desired result. &lt;/P&gt;&lt;P&gt;The quarters are in the same table with Month_Date in my load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 18:32:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-03T18:32:00Z</dc:date>
    <item>
      <title>Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854056#M299391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a tricky problem here. I have a pivot table as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 314px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Months&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="72"&gt;Q1&lt;/TD&gt;&lt;TD class="xl70" width="72"&gt;Q2&lt;/TD&gt;&lt;TD class="xl64" width="72"&gt;Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17"&gt;BG_bench&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt;Bench, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench, USD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Bench, USD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Engineering&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;30,864&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Genesys&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;International Other&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Kyivstar&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Lindorff&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Telecom&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Ukraine other&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;30,864&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;77,420&lt;/TD&gt;&lt;TD align="right" class="xl69" style="border-top: none; border-left: none;"&gt;180,906&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a condition for Becnch USD calculation depending on the period, if it is &amp;gt; or &amp;lt; than current month&lt;/P&gt;&lt;P&gt;My expression:&lt;/P&gt;&lt;P&gt;IF(Month_Date&amp;gt;=(vCurMonth),Sum(Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&amp;gt;}Fact_bench))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when it comes to quarters it doesnt give me the desired result. &lt;/P&gt;&lt;P&gt;The quarters are in the same table with Month_Date in my load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 18:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854056#M299391</guid>
      <dc:creator />
      <dc:date>2015-04-03T18:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854057#M299392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it would be great if you can share sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 04:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854057#M299392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-04T04:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854058#M299393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...Diana...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post a sample application...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohammad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 05:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854058#M299393</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2015-04-04T05:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854059#M299394</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;Try with below expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Month_Date&amp;gt;=(vCurMonth),Sum(&lt;STRONG&gt;{&amp;lt;Month_Date={"&amp;gt;$(=vCurMonth)"}&amp;gt;} &lt;/STRONG&gt;Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&lt;STRONG&gt;,Month_Date={"&amp;gt;$(=vCurMonth)"}&lt;/STRONG&gt;&amp;gt;}Fact_bench))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 05:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854059#M299394</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-04-04T05:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854060#M299395</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;Unfortunately, this doesnt work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 14:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854060#M299395</guid>
      <dc:creator />
      <dc:date>2015-04-04T14:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854061#M299396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi,&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;How can I add a document here? cant find a button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 14:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854061#M299396</guid>
      <dc:creator />
      <dc:date>2015-04-04T14:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854062#M299397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe this will work?&lt;/P&gt;&lt;P&gt;IF(&lt;STRONG&gt;min(Month_Date)&lt;/STRONG&gt;&amp;gt;=(vCurMonth),Sum(Sal*Bench_Data),Sum({&amp;lt;Y={'2015'}&amp;gt;}Fact_bench))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 16:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854062#M299397</guid>
      <dc:creator />
      <dc:date>2015-04-04T16:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854063#M299398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on right top of reply box see blue link use advanced editor click that and then on right bottom you will get link to attach files&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 16:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-vs-Quarter/m-p/854063#M299398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-04T16:16:07Z</dc:date>
    </item>
  </channel>
</rss>

