<?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: data model suggestion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493060#M686742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right Vamshi. If you are correct i just need to apply "Left Join" with the fact Table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Dec 2013 10:49:09 GMT</pubDate>
    <dc:creator>harleen_singh</dc:creator>
    <dc:date>2013-12-24T10:49:09Z</dc:date>
    <item>
      <title>data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493054#M686736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i have a fact table in the middle with a Date field and Date field is linked with Ca lander.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following fields in Fact table. So here date field is linked with Master Calender&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rno&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what i want a &lt;STRONG&gt;Flag&lt;/STRONG&gt; in a data model where Quantity is greater than 744 in a month for particular RNo. But, if i do group by monthyear than my data model will convert into monthyear level which i don't want. I want to keep my data model into Date level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should i do in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 07:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493054#M686736</guid>
      <dc:creator>harleen_singh</dc:creator>
      <dc:date>2013-12-17T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493055#M686737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like:&lt;/P&gt;&lt;P&gt;TempFact:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; no&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month&lt;/P&gt;&lt;P&gt;From &amp;lt;'&amp;gt;;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Sum(Quantity)&amp;gt;744, 'Y', 'N') as Flag&lt;/P&gt;&lt;P&gt;Resident TempFact Group By Month;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 08:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493055#M686737</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-17T08:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493056#M686738</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 like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;MonthName(Date) AS Month&lt;/P&gt;&lt;P&gt;FROM Datasource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GroupData:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Sum(Quantity)&amp;gt;744, 1, 0) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RESIDENT Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GROUP BY Month;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you want to group by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RNo also then try this&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;GroupData:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RNo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Sum(Quantity)&amp;gt;744, 1, 0) as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RESIDENT Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GROUP BY Month, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RNo&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 08:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493056#M686738</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-17T08:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493057#M686739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@jagan you are correct but as i said. if i do this my "FACT"Table will convert into Month year Level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to keep it into Date level so that i can also see daily details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493057#M686739</guid>
      <dc:creator>harleen_singh</dc:creator>
      <dc:date>2013-12-17T09:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493058#M686740</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;Here we are not changing the Fact Table, you fact table stays as such, we are not joining the tables and we are just arriving the Flag field in the new table.&amp;nbsp; The new table just has a flag with Month/RNo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:13:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493058#M686740</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-17T09:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493059#M686741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think tresesco's answer might be best fit for your requirement! Because, it will keep your data model on date level. It just adds extra fields Month and flag to the existing fact table. And this is what you are supposed to ask right!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 20:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493059#M686741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T20:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: data model suggestion</title>
      <link>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493060#M686742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right Vamshi. If you are correct i just need to apply "Left Join" with the fact Table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Lavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Dec 2013 10:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-model-suggestion/m-p/493060#M686742</guid>
      <dc:creator>harleen_singh</dc:creator>
      <dc:date>2013-12-24T10:49:09Z</dc:date>
    </item>
  </channel>
</rss>

