<?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 Shall I use InMonth function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184567#M500978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;I sometimes to do, even for the sake of clarity. The expression without CompletionDate at the beginning as you post should return proper results, since you are already filtering those MemberId that have already bought a certain number of times in that period of time.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2011 07:42:24 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-03-29T07:42:24Z</dc:date>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184562#M500973</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 the following 2 tables:&lt;/P&gt;&lt;P&gt;Usage:&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;MemberId, Category, CompletionDate&lt;BR /&gt;1,IPad,2010/01/02&lt;BR /&gt;1,IPhone4,2010/02/02&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;RegisterTB:&lt;BR /&gt;LOAD * Inline&lt;BR /&gt;[&lt;BR /&gt;Month,MemberId&lt;BR /&gt;2010/01/01,1&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;The first is the orders that customer bought something, the second is the register table that is used to show when the customer became our member.&lt;/P&gt;&lt;P&gt;Now I want to use pivot table to show how many product the member has bought during the registeration month.&lt;/P&gt;&lt;P&gt;In this test data, the results shoud be:&lt;/P&gt;&lt;P&gt;MemberId Month Quantity&lt;/P&gt;&lt;P&gt;1 2010/01/01 1&lt;/P&gt;&lt;P&gt;How to calculate that Quantity?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 13:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184562#M500973</guid>
      <dc:creator />
      <dc:date>2011-03-28T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184563#M500974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;If the dimension es Month from RegisterTB, I'd use the MonthStart and MonthEnd functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; CompletionDate = {'&amp;gt;=$(=MonthStart(Month))&amp;lt;=$(=MonthEnd(Month))'} &amp;gt;} MemberId)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Think of creating a master calendar. There are a lot of good posts and an entry in the Wiki on how to get this done.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 13:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184563#M500974</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-28T13:25:25Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184564#M500975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi teacher,&lt;/P&gt;&lt;P&gt;Another additional question, if I want to calculate how many people have bought at least 2 products during the registeration, how to handle it?&lt;/P&gt;&lt;P&gt;In this sample , the results look like this:&lt;/P&gt;&lt;P&gt;Month Count&lt;/P&gt;&lt;P&gt;2010/01/01 1&lt;/P&gt;&lt;P&gt;How to modify that set analysis?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 14:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184564#M500975</guid>
      <dc:creator />
      <dc:date>2011-03-28T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184565#M500976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;You'd need to add a count something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Count({&amp;lt; CompletionDate = {'&amp;gt;=$(=MonthStart(Month))&amp;lt;=$(=MonthEnd(Month))'}, MemberId = {"=Count({&amp;lt; CompletionDate = {'&amp;gt;=$(=MonthStart(Month))&amp;lt;=$(=MonthEnd(Month))'} MemberId) &amp;gt;} &amp;gt; 1"} &amp;gt;} MemberId)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 14:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184565#M500976</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-28T14:41:54Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184566#M500977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi teacher,&lt;/P&gt;&lt;P&gt;why do we need to add completiondate to restrict the expression?&lt;/P&gt;&lt;P&gt;If I remove it, and use this directly:&lt;/P&gt;&lt;P&gt;Count({&amp;lt; MemberId = {"=Count({&amp;lt; CompletionDate = {'&amp;gt;=$(=MonthStart(Month))&amp;lt;=$(=MonthEnd(Month))'} MemberId) &amp;gt;} &amp;gt; 1"} &amp;gt;} MemberId)&lt;/P&gt;&lt;P&gt;Is there any difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 15:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184566#M500977</guid>
      <dc:creator />
      <dc:date>2011-03-28T15:56:53Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184567#M500978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Isaac,&lt;/P&gt;&lt;P&gt;I sometimes to do, even for the sake of clarity. The expression without CompletionDate at the beginning as you post should return proper results, since you are already filtering those MemberId that have already bought a certain number of times in that period of time.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 07:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184567#M500978</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-29T07:42:24Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184568#M500979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks, teacher.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 08:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184568#M500979</guid>
      <dc:creator />
      <dc:date>2011-03-29T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Shall I use InMonth function?</title>
      <link>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184569#M500980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Isaac wrote:OK, thanks, teacher.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You're welcome. I'm glad to help.&lt;/P&gt;&lt;P&gt;But there are a lot of people here in the Community with huge knowledge about QlikView in particular and BI or DB subjects in general from whom I've learned a lot in turn. I don't see myself as teacher, and certainly not speaking about QlikView!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 08:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Shall-I-use-InMonth-function/m-p/184569#M500980</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-29T08:59:58Z</dc:date>
    </item>
  </channel>
</rss>

