<?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: Date join key create synthetic key and loop in database structure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289840#M1185308</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just rename the date field of WorkProgress and it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Or rename the date field of All. Now it depends on you which you want to consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 10:40:52 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-09-26T10:40:52Z</dc:date>
    <item>
      <title>Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289839#M1185307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've an issue with joining the date in the database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, there are 4 mains tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All: PDID, Date, Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WorkProgress: PhaseID, Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CMMapping : PDID, PhaseID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar: Date, Year, Month,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Others details table&lt;/P&gt;&lt;P&gt;PhaseDetails: PhaseID, Phasename, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PrjDetails: PDID, PrjName, ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I load my script, the QV prompted the database has loop structure and create synthetic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to resolve this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 10:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289839#M1185307</guid>
      <dc:creator>elaineng</dc:creator>
      <dc:date>2011-09-26T10:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289840#M1185308</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just rename the date field of WorkProgress and it will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Or rename the date field of All. Now it depends on you which you want to consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 10:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289840#M1185308</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-09-26T10:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289841#M1185309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Kaushik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By renaming the field in WorkProgress or Date field of All. When I select Year, Month, the data of WorkProgress will not select accordingly? How can I overcome this situation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 10:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289841#M1185309</guid>
      <dc:creator>elaineng</dc:creator>
      <dc:date>2011-09-26T10:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289842#M1185311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please take the attached file &lt;/P&gt;&lt;P&gt;and see the result &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this may help you&lt;/P&gt;&lt;P&gt;&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;Sunil Chauhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 11:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289842#M1185311</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-09-26T11:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289843#M1185312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Sunil Chauhan for the Quick Respond. But after rename "date" field. When I choose Year or Month, the WorkProgress result will not reflect accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know how should I overcome this issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 11:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289843#M1185312</guid>
      <dc:creator>elaineng</dc:creator>
      <dc:date>2011-09-26T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289844#M1185313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add the below script in place of&amp;nbsp; workprogress table and then see &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[WorkProgress]:&lt;/P&gt;&lt;P&gt;LOAD BillEventID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BillSchemeID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ChargePercent, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CertifiedDate as 'Date',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PhaseID as PhaseID1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seqno, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UnitID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; UnitStatus;&lt;/P&gt;&lt;P&gt;SQL SELECT BillEventID, BillSchemeID, CertifiedDate, ChargePercent, PhaseID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Seqno, UnitID, UnitStatus,PDID&lt;/P&gt;&lt;P&gt;FROM "SCITY_MY_INTERDB".dbo.WorkProgress a&lt;/P&gt;&lt;P&gt;RIGHT JOIN "SCITY_MY_INTERDB".dbo.CMdbMappingIFCA b ON a.PhaseID = b.IFCAPhaseID&lt;/P&gt;&lt;P&gt;WHERE CertifiedDate IS NOT NULL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and let me know if you have any concern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 11:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289844#M1185313</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-09-26T11:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date join key create synthetic key and loop in database structure</title>
      <link>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289845#M1185314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Dear Sunil Chauhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After rename PhaseID to PhaseID1, same issue happen, when I choose the particular project. The work progress information is not reflect accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, "All" table is similar to the target and the "WorkProgress" table is the actual result. I need to compare the target and actual result of the same project for the particular range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 00:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-join-key-create-synthetic-key-and-loop-in-database/m-p/289845#M1185314</guid>
      <dc:creator>elaineng</dc:creator>
      <dc:date>2011-09-27T00:57:21Z</dc:date>
    </item>
  </channel>
</rss>

