<?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: MTD vs LMTD Comparision On Backend Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859406#M300880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to get out from this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 11:03:06 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2015-07-17T11:03:06Z</dc:date>
    <item>
      <title>MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859404#M300878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a Calendar based on day basis as per attached application.&lt;/P&gt;&lt;P&gt;I want to make MTD vs LMTD logic as per calendar used in given sample application.&lt;/P&gt;&lt;P&gt;Here, in thaqt i have added some scenario to getting the desired output. &lt;/P&gt;&lt;P&gt;Please have a look into this. &lt;/P&gt;&lt;P&gt;Any help will be appreciable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 07:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859404#M300878</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-07-13T07:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859405#M300879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please help me to resolve this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859405#M300879</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-07-17T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859406#M300880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/gwassenaar"&gt;gwassenaar&lt;/A&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to get out from this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 11:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859406#M300880</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-07-17T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859407#M300881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to decipher your requirement, but not really sure what you are looking to do. Can we do it one at a time? So that the clutter can be simplified? What is the first thing you want to work on? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93200_Capture.PNG" style="height: 420px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 11:58:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859407#M300881</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-17T11:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859408#M300882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/sunindia"&gt;sunindia&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks for reply.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I explain you &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let's discuss on 1st scenario (Mar data).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Purpose : I want to compare the Current Month data with last month data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Here , comparison based on Days rather than Date)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Current Selection - 2016 and Month = Mar&lt;/P&gt;&lt;P&gt;So, i want a flag on that basis i calculate the current Month and Last Month sale easily.&lt;/P&gt;&lt;P&gt;As mentioned above output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope now you understand the 2nd scenario.(based on week)&lt;/P&gt;&lt;P&gt;Output : comparison of Current week(2016) to last week(2015).&lt;/P&gt;&lt;P&gt;Selection Year = 2016 Month = Jan Week = 01&lt;/P&gt;&lt;P&gt;In 2016 1st Week has 9 days.&lt;/P&gt;&lt;P&gt;In 2015 1st Week has 3 days.&lt;/P&gt;&lt;P&gt;So, i want to compare as mentioned above.&lt;/P&gt;&lt;P&gt;Here also i want a flag which would be control by Weeks.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 12:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859408#M300882</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-07-17T12:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859409#M300883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you mentioned flags, are you looking for a script based solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 12:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859409#M300883</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-17T12:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859410#M300884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i want backend script solution. I m also trying on backend with no luck. I think on backend it become easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 04:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859410#M300884</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-07-18T04:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859411#M300885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-avatarid="10792" data-externalid="" data-online="false" data-presence="null" data-userid="171708" data-username="sunindia" href="https://community.qlik.com/people/sunindia" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f2f2f2;"&gt;Sunny T&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 05:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859411#M300885</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-08-11T05:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: MTD vs LMTD Comparision On Backend Script</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859412#M300886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide the qvd and excel data which is there in qvw.&lt;/P&gt;&lt;P&gt;As without data and to implement this flags, it will throw an error while loading...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Current Month:&lt;/P&gt;&lt;P&gt;TempDate is the date field&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vToday is the variable : num(today())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; inmonth(TempDate, $(vToday), 0) * -1 AS CM&lt;/P&gt;&lt;P&gt;In front end you can use CM=1 which will give you current month data for current year&lt;/P&gt;&lt;P&gt; Same Month Last Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; inmonth(TempDate, $(vToday), -12) * -1 AS FPM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;In front end you can use &lt;SPAN style="font-size: 13.3333330154419px;"&gt;FPM&lt;/SPAN&gt;=1 which will give you current month data for current year&lt;/SPAN&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;Kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 11:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-vs-LMTD-Comparision-On-Backend-Script/m-p/859412#M300886</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-08-11T11:07:24Z</dc:date>
    </item>
  </channel>
</rss>

