<?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 Working with Monthly Targets and different Locations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284354#M1201253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate the actual results table with the targets table so that they share the same filters. When you concatenate the tables add an extra column that will tell you if the row is an actual result or a target. When you make the formulas then you can use set analysis like this:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DataType={'Target'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DataType={'Actual'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 20:35:40 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2010-10-26T20:35:40Z</dc:date>
    <item>
      <title>Working with Monthly Targets and different Locations</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284353#M1201251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to put together a chart that analyzes targets and actual results.&lt;/P&gt;&lt;P&gt;I have two tables right now, my sales data and my master calendar. The third table I would bring in would be the targets.&lt;/P&gt;&lt;P&gt;Here is where my issue begins...my sales data covers multiple locations. Let's say 1, 2, 3.&lt;/P&gt;&lt;P&gt;Each location has its own Targets set for the year and they vary from Month to Month. (The analysis would be done by month and quarter)&lt;/P&gt;&lt;P&gt;So when creating my links, I would have one link that connects to the Sales Data (for the locations) and one link that connects to the Master Calendar (for the Months). This creates a loop and is no good.&lt;/P&gt;&lt;P&gt;How do you recommend I go about this? ....&lt;/P&gt;&lt;P&gt;To further complicate the matter, each location has multiple divisions and they too have differing targets by month, so this would be another table....&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 19:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284353#M1201251</guid>
      <dc:creator />
      <dc:date>2010-10-26T19:54:15Z</dc:date>
    </item>
    <item>
      <title>Working with Monthly Targets and different Locations</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284354#M1201253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concatenate the actual results table with the targets table so that they share the same filters. When you concatenate the tables add an extra column that will tell you if the row is an actual result or a target. When you make the formulas then you can use set analysis like this:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DataType={'Target'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DataType={'Actual'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 20:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284354#M1201253</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-26T20:35:40Z</dc:date>
    </item>
    <item>
      <title>Working with Monthly Targets and different Locations</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284355#M1201255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My actual table has about 20 columns and about 4 million rows. (Covers data over the last 4 years)&lt;/P&gt;&lt;P&gt;Will concatenating this be efficient? How do I add an extra row during concatenate ( I am not really familiar with this function)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 20:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284355#M1201255</guid>
      <dc:creator />
      <dc:date>2010-10-26T20:46:44Z</dc:date>
    </item>
    <item>
      <title>Working with Monthly Targets and different Locations</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284356#M1201257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose it depends on your system, but it will have better performance than using a date island and if you are able to use the same columns between the target and actual table, the application will not increase too much in size since QlikView compresses the duplicate values found in the same column. This has been my strategy for the past couple years after trying to use link tables or table islands and it has worked well for me. It is basically the same principle used to create a datawarehouse.&lt;/P&gt;&lt;P&gt;To add a new column do something like below:&lt;/P&gt;&lt;P&gt;Load 'Target' as DataType, //New column&lt;BR /&gt; Date,&lt;BR /&gt; Location,&lt;BR /&gt; Division&lt;BR /&gt;....&lt;BR /&gt;From ....&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load 'Actual' as DataType, //New column&lt;BR /&gt; Date,&lt;BR /&gt; Location,&lt;BR /&gt; Division&lt;BR /&gt;....&lt;BR /&gt;From ....&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 20:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-Monthly-Targets-and-different-Locations/m-p/284356#M1201257</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-26T20:56:55Z</dc:date>
    </item>
  </channel>
</rss>

