<?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: sales vs targets - giving wrong target values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401891#M488553</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;see the attached file for concatenate between tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use concatenate it will get append the data means will add record by record but it will never form complete record with all the fileds..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use join it will get create complete record will the all the fileds based on common fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2013 06:06:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-08T06:06:17Z</dc:date>
    <item>
      <title>sales vs targets - giving wrong target values</title>
      <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401887#M488547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I need urgent help with target figures that is not displaying&lt;BR /&gt;correct figures. I have targets in a file per type , country, product and year&lt;BR /&gt;month and this is also my key to my transactions table where I have sales per&lt;BR /&gt;day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when I create a pivot that look at sales for&lt;BR /&gt;the month per&amp;nbsp; type, country and year it&lt;BR /&gt;pull through the wrong target and the reason being is that if there was not a&lt;BR /&gt;sale for a specific product that day Qlikview does not take that target in consideration.&lt;BR /&gt;It is actually oblivious because product is part of the key to the target file.&lt;BR /&gt;How can I get pass this issue – if I want to look at sales and targets for a&lt;BR /&gt;month per type(Export) country(Namibia) I want to look at total target for&lt;BR /&gt;Export Namibia for month 201301 and not just at the targets of the products&lt;BR /&gt;that there where sales for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 115%; font-family: &amp;amp;quot;Calibri&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;My expression for my target is &lt;/SPAN&gt;&lt;SPAN style="color: blue; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Year Month&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;"$(=max({&amp;lt;Year Month=&amp;gt;}&lt;BR /&gt;Year Month))"&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; Type&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt; = {'EXPORT'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;[Target]&lt;/SPAN&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;please see my attached excel spreadsheet explanation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Much apprecaited&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; line-height: 115%; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-fareast-language: EN-US; mso-ansi-language: EN-ZA; mso-bidi-language: AR-SA;"&gt;Louw&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 03:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401887#M488547</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-01-08T03:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: sales vs targets - giving wrong target values</title>
      <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401888#M488548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How have you constructed your tables?&amp;nbsp; do you have a Target table and an Transaction (FACT) table which has a multi-field key (Product, Country, Type, YearMonth) which joins them AND then a separate table for Date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's because the Date selection is passing through the FACT table to get to Target that it loses the links.&amp;nbsp; Why don't you instead concatenate your Target and Fact tables together into one table - the dimesions are mostly common to them anyway.&amp;nbsp; That would remove your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would create another that your Targets are by Year Month, but your Transactions and Date table are linked by day.&amp;nbsp; In our implementations we usually spread our Targets across the days in the month so that both Sales FACT records and Target records are by day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 03:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401888#M488548</guid>
      <dc:creator>michael_anthony</dc:creator>
      <dc:date>2013-01-08T03:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: sales vs targets - giving wrong target values</title>
      <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401889#M488550</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;Please see the attached file..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will helps!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 04:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401889#M488550</guid>
      <dc:creator />
      <dc:date>2013-01-08T04:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: sales vs targets - giving wrong target values</title>
      <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401890#M488552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could see a couple of issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script you are Joining the FACT and Target tables, believe it would be better to CONCATENATE the tables.&amp;nbsp; Join in this instance would be a very dangerous method to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart you've got Target as a Dimension, rather than an Expression.&amp;nbsp; If you change to Concatenating the tables, then using normal SUM(Target) as the expression it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 05:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401890#M488552</guid>
      <dc:creator>michael_anthony</dc:creator>
      <dc:date>2013-01-08T05:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: sales vs targets - giving wrong target values</title>
      <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401891#M488553</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;see the attached file for concatenate between tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use concatenate it will get append the data means will add record by record but it will never form complete record with all the fileds..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use join it will get create complete record will the all the fileds based on common fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 06:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401891#M488553</guid>
      <dc:creator />
      <dc:date>2013-01-08T06:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: sales vs targets - giving wrong target values</title>
      <link>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401892#M488554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra and Micheal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank so much i have implemented your suggestion and it worked 100%. My problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Louwrie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 12:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sales-vs-targets-giving-wrong-target-values/m-p/401892#M488554</guid>
      <dc:creator>louwriet</dc:creator>
      <dc:date>2013-01-11T12:18:37Z</dc:date>
    </item>
  </channel>
</rss>

