<?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: Granularity issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254382#M396595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a bridgetable here!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;these are two different types of info.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;on the first table you have a Pipeline Date and the second table invoice date, why would join them using a ID&amp;amp; Date key?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2017 10:18:03 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2017-01-30T10:18:03Z</dc:date>
    <item>
      <title>Granularity issue</title>
      <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254381#M396594</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 an issue with granularity with dates en projectinformation. I have a table with projectheader information with monthly pipeline value snapshots and I have an table with Invoices related to that project. I don't always have an header date or an invoice date but what I need is one calendar to select dates in both tables. &lt;/P&gt;&lt;P&gt;I know this can be done with Date bridges and GenericKeys but can't figure it out...need some advice or sample script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Robbie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dataset: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projectheader&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Project ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Date&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Project Pipeline Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1 January&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1 March&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1 December&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoices&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Project ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt; Invoice Date&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Invoice Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1 January&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1520&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23 January&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1 February&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15 February&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20 February&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1 March&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23 November&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 09:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254381#M396594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T09:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Granularity issue</title>
      <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254382#M396595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need a bridgetable here!!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;these are two different types of info.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;on the first table you have a Pipeline Date and the second table invoice date, why would join them using a ID&amp;amp; Date key?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 10:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254382#M396595</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-30T10:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Granularity issue</title>
      <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254383#M396596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you already looked at this and tried it?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 10:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254383#M396596</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T10:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Granularity issue</title>
      <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254384#M396597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Veneeth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't join them, &lt;BR /&gt;I miss dates.If I want to know invoices of a project but i don't have a date in the header table (and that's possible because we created snapshots after a certain period) then the information is incomplete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 10:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254384#M396597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Granularity issue</title>
      <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254385#M396598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want everything in the same table try below, remove the join keyword , it'll create a synthetic key but is safe in this scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Project ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE(MonthStart(DATE#([Invoice Date],'DD MMMM')),'DD MMMM') as Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Invoice Value]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="247937" data-objecttype="1" href="https://community.qlik.com/thread/247937"&gt;https://community.qlik.com/thread/247937&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Project ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE#([Date],'DD MMMM') as Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Project Pipeline Value]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="247937" data-objecttype="1" href="https://community.qlik.com/thread/247937"&gt;https://community.qlik.com/thread/247937&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 10:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254385#M396598</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-01-30T10:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Granularity issue</title>
      <link>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254386#M396599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Robbie&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add a Master Calendar with Two different Date Fields with same value as below (Keep the names same as Date fields from &lt;SPAN style="font-size: 13.3333px;"&gt;Invoices and Projectheader tables&lt;/SPAN&gt;). This will join the master calendar table with other two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//To be linked with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Projectheader&lt;/SPAN&gt; table's Date field&lt;/P&gt;&lt;P&gt;DateKey AS Date,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//To be linked with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Invoices&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;table's &lt;SPAN style="font-size: 13.3333px;"&gt;Invoice Date&lt;/SPAN&gt; field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DateKey AS [Invoice Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is draft version of solution; to further fine tune it you can implement the suggestion mentioned by &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 12:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Granularity-issue/m-p/1254386#M396599</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-01-30T12:18:32Z</dc:date>
    </item>
  </channel>
</rss>

