<?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 Help Connecting Date Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1684231#M593676</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm hoping one of the Qlik geniuses from the community can help me.&lt;/P&gt;&lt;P&gt;I've got 2 tables that already join on one field:&amp;nbsp;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 1 has &lt;STRONG&gt;Code,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Costs&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;CostDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 2 has &lt;STRONG&gt;Code,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Production Line Milestones&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;LineDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I currently have a chart set-up that's showing information from table 1 so:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt; as dimension on X-Axis&lt;/P&gt;&lt;P&gt;Sum of&amp;nbsp;&lt;STRONG&gt;Costs&lt;/STRONG&gt; (cumulative) over time&lt;/P&gt;&lt;P&gt;This is displayed only when GetSeletedCount(Code)=1 so there is not lots of data on the chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now want to plot single points on the chart using the Milestone information from Table 2 to show the Cumulative Cost &amp;amp; Milestone information together.&lt;/P&gt;&lt;P&gt;The issue is it is already join on&amp;nbsp;&lt;STRONG&gt;Code&amp;nbsp;&lt;/STRONG&gt;so I can't just rename Date2 as Date1 as I'll get a Synthetic Key.&lt;/P&gt;&lt;P&gt;I hope this is making sense so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no idea how to proceed or if it's possible.&lt;/P&gt;&lt;P&gt;Is anyone able to help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2020 16:17:43 GMT</pubDate>
    <dc:creator>DSTaylor</dc:creator>
    <dc:date>2020-03-12T16:17:43Z</dc:date>
    <item>
      <title>Help Connecting Date Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1684231#M593676</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm hoping one of the Qlik geniuses from the community can help me.&lt;/P&gt;&lt;P&gt;I've got 2 tables that already join on one field:&amp;nbsp;&lt;STRONG&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 1 has &lt;STRONG&gt;Code,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Costs&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;CostDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table 2 has &lt;STRONG&gt;Code,&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;Production Line Milestones&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;LineDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I currently have a chart set-up that's showing information from table 1 so:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt; as dimension on X-Axis&lt;/P&gt;&lt;P&gt;Sum of&amp;nbsp;&lt;STRONG&gt;Costs&lt;/STRONG&gt; (cumulative) over time&lt;/P&gt;&lt;P&gt;This is displayed only when GetSeletedCount(Code)=1 so there is not lots of data on the chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now want to plot single points on the chart using the Milestone information from Table 2 to show the Cumulative Cost &amp;amp; Milestone information together.&lt;/P&gt;&lt;P&gt;The issue is it is already join on&amp;nbsp;&lt;STRONG&gt;Code&amp;nbsp;&lt;/STRONG&gt;so I can't just rename Date2 as Date1 as I'll get a Synthetic Key.&lt;/P&gt;&lt;P&gt;I hope this is making sense so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no idea how to proceed or if it's possible.&lt;/P&gt;&lt;P&gt;Is anyone able to help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 16:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1684231#M593676</guid>
      <dc:creator>DSTaylor</dc:creator>
      <dc:date>2020-03-12T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help Connecting Date Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1685569#M593677</link>
      <description>&lt;P&gt;You have a sample app?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 07:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1685569#M593677</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2020-03-18T07:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help Connecting Date Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1685633#M593678</link>
      <description>&lt;P&gt;I would consider merging the two tables, something along he lines of:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Data:
LOAD Code,
	Cost,
	CostDate as Date,
	'Cost' as Type,
	....
	FROM ...;
	
Concatenate(Data)
LOAD Code,
	[Production Line Milestones] as MileStone,
	LineDate as Date,
	'MileStone' as Type,
	...
	FROM ...;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Now you can plot them with the same dimension, using Type in set expression to select the correct data:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum({&amp;lt;Type = {'Cost'}&amp;gt;} Cost)&lt;BR /&gt;&lt;/EM&gt;&lt;EM&gt;=Count({&amp;lt;Type = {'MileStone'}&amp;gt;} MileStone)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Your question is a little light on details, so you will probably need to tweak this to suit.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 10:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Connecting-Date-Fields/m-p/1685633#M593678</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-03-18T10:55:25Z</dc:date>
    </item>
  </channel>
</rss>

