<?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: Connect two graphs (make them look like one) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435176#M431227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at merging the two expressions into one, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=RangeSum(&amp;lt;"actual" expression&amp;gt;, &amp;lt;"forecast" expression&amp;gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use a conditional expression for the foreground colour (click the + next to the expression in the Properties | Expressions tab). Something to determine of the x-axis date is later than the last "actuals" date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=If([DateField] &amp;gt; Max({&amp;lt;Sales = {"&amp;gt;0"}&amp;gt;} DateField), Red(), Green())&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjust to your specific requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 12:25:14 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2017-11-08T12:25:14Z</dc:date>
    <item>
      <title>Connect two graphs (make them look like one)</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435174#M431225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Calibri, sans-serif; font-size: 11pt;"&gt;Hi everybody,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;I have the following problem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;I would like to create a graph showing my actual numbers and forecast numbers together in one chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;So until October, my actual numbers would be in there and then forecast numbers. However, the graph should, as soon as it contains only forecast numbers change its color, so that it is recognizable that you look at the forecast there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;So I just went ahead and created 2 graphs (2 seperate formulars) in the same chart. One contains only actual numbers and the other one shows forecast numbers if there are no actual numbers for this month yet (e.g. Nov-Dec).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;So far so good ... But now I have a nasty gap between the graphs ... Does anyone see a solution to 'connect' the red graph with the green one?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;&lt;IMG alt="gewinn_Forecast.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182477_gewinn_Forecast.PNG" style="height: auto;" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;PS: I have only been working with QV for a few weeks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: 'Calibri',sans-serif; color: black;"&gt;Jan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435174#M431225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T08:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Connect two graphs (make them look like one)</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435175#M431226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe, We can merge. Can you share sample to work around&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435175#M431226</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-08T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connect two graphs (make them look like one)</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435176#M431227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at merging the two expressions into one, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=RangeSum(&amp;lt;"actual" expression&amp;gt;, &amp;lt;"forecast" expression&amp;gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use a conditional expression for the foreground colour (click the + next to the expression in the Properties | Expressions tab). Something to determine of the x-axis date is later than the last "actuals" date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=If([DateField] &amp;gt; Max({&amp;lt;Sales = {"&amp;gt;0"}&amp;gt;} DateField), Red(), Green())&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjust to your specific requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435176#M431227</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-11-08T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connect two graphs (make them look like one)</title>
      <link>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435177#M431228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my late reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to merge them visually. I have two functions now: 1. actual Profit/Loss until max(month_closed)&lt;/P&gt;&lt;P&gt;2. Forecast starting in max(month_closed)... They now look like one graph which switches its coulor when turning into forecast. &lt;/P&gt;&lt;P&gt;I guess that's not best practice but I'm fine with that as long as the result is working.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Graph_Gewinnentwicklung.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191351_Graph_Gewinnentwicklung.PNG" style="height: 237px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connect-two-graphs-make-them-look-like-one/m-p/1435177#M431228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-25T08:22:00Z</dc:date>
    </item>
  </channel>
</rss>

