<?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 Targets with two fields in common in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292544#M1202191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Les,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be helpful if you could shows us a sample output which you want from the example which you had uploaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Dec 2010 10:52:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-07T10:52:01Z</dc:date>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292536#M1202183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to load into my document different sales targets for customers based on a group of suppliers.&lt;/P&gt;&lt;P&gt;In table 1, I have the sales data (which includes a field for customer, supplier, sales amount ...etc),&lt;/P&gt;&lt;P&gt;In table 2, I have my two fields, supplier name and the supplier group name they belong to&lt;/P&gt;&lt;P&gt;In table 3, I would have my customer name, supplier group name and sales target&lt;/P&gt;&lt;P&gt;because table 3 has connections to table 3 (supplier group) and table 1 (customer name) a circular reference occurs.&lt;/P&gt;&lt;P&gt;Can someone please help me overcome this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 23:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292536#M1202183</guid>
      <dc:creator />
      <dc:date>2010-12-02T23:34:10Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292537#M1202184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need the supplier group field in table 3 when a supplier always has the same supplier group and that supplier is already linked to the supplier group in table 2?&lt;/P&gt;&lt;P&gt;Or is the sales target for the supplier group in which case the customers with a supplier belonging to the supplier group are already linked through table 2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 23:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292537#M1202184</guid>
      <dc:creator />
      <dc:date>2010-12-02T23:39:16Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292538#M1202185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The sales target is for the supplier group, any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 23:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292538#M1202185</guid>
      <dc:creator />
      <dc:date>2010-12-02T23:51:49Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292539#M1202186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how the exact data model looks, but can´t you simply leave out customer name in table 3?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 08:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292539#M1202186</guid>
      <dc:creator />
      <dc:date>2010-12-03T08:19:39Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292540#M1202187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to break the circular loop you can rename(Alias) your field name.&lt;/P&gt;&lt;P&gt;It will be easy for me to understand the structure if you are able to post some sample data not actual .&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 08:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292540#M1202187</guid>
      <dc:creator />
      <dc:date>2010-12-03T08:38:39Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292541#M1202188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I have not been so clear. EACH customer will have a seperate target for EACH product group.&lt;/P&gt;&lt;P&gt;I have attached sample data in an excel files, each sheet would be a different table.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 14:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292541#M1202188</guid>
      <dc:creator />
      <dc:date>2010-12-03T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292542#M1202189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could just load the 3rd table as under&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CUSTOMER,&lt;BR /&gt; [PRODUCT GROUP] as CustomerProductGroup,&lt;BR /&gt; TARGET&lt;BR /&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Such renaming the field would remove your circular reference problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 09:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292542#M1202189</guid>
      <dc:creator />
      <dc:date>2010-12-06T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292543#M1202190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While this does remove the circular reference, my problem has not been solved.&lt;/P&gt;&lt;P&gt;I would like my output table to be&lt;/P&gt;&lt;P&gt;Column 1: Product Group, Column 2: Customer Sales, Column 3: Customer Target,&lt;/P&gt;&lt;P&gt;I use the renamed Product group as the dimension and so it is linked to the customer targets. However the customer sales are no longer associated to this dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 15:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292543#M1202190</guid>
      <dc:creator />
      <dc:date>2010-12-06T15:57:24Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292544#M1202191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Les,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be helpful if you could shows us a sample output which you want from the example which you had uploaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 10:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292544#M1202191</guid>
      <dc:creator />
      <dc:date>2010-12-07T10:52:01Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292545#M1202192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the basic version of what I would like my output to be. I have no issues getting my chart to look like this, it is only making the correct associations. As you can see, the sales and the target amount must be associated to the product group. Thanks again for the help&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/3681.OUTPUT.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/3681.OUTPUT.bmp" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 14:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292545#M1202192</guid>
      <dc:creator />
      <dc:date>2010-12-07T14:35:47Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292546#M1202193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Les,&lt;/P&gt;&lt;P&gt;Here's what you can do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;BR /&gt;LOAD DATE,&lt;BR /&gt; CUSTOMER,&lt;BR /&gt; INVOICE,&lt;BR /&gt; PRODUCT,&lt;BR /&gt; PRICE,&lt;BR /&gt; QUANTIY,&lt;BR /&gt; TOTAL&lt;BR /&gt;FROM ABC.xlsx (ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;temp:&lt;BR /&gt;LOAD PRODUCT,&lt;BR /&gt; [PRODUCT GROUP]&lt;BR /&gt;FROM ABC.xlsx (ooxml, embedded labels, table is Sheet2);&lt;BR /&gt;&lt;BR /&gt;left join (Sales) load * resident temp;&lt;BR /&gt;drop table temp;&lt;BR /&gt;&lt;BR /&gt;Target:&lt;BR /&gt;LOAD CUSTOMER,&lt;BR /&gt; [PRODUCT GROUP],&lt;BR /&gt; TARGET&lt;BR /&gt;FROM ABC.xlsx (ooxml, embedded labels, table is Sheet3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output looks as under:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:85px;" width="888"&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;COL style="width:74pt;" width="98" /&gt;&lt;TBODY&gt;&lt;TR style="height:13.5pt;"&gt;&lt;TD class="xl64" height="18" style="height:13.5pt;width:74pt;" width="98"&gt;CUSTOMER&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;ALAN&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;ALAN&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;DAVID&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;DAVID&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;JOHN&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;JOHN&lt;/TD&gt;&lt;TD class="xl65" style="border-left:medium none;width:74pt;" width="98"&gt;PETER&lt;/TD&gt;&lt;TD class="xl66" style="border-left:medium none;width:74pt;" width="98"&gt;PETER&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl67" height="17" style="height:12.75pt;"&gt;PRODUCT GROUP&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;"&gt;Sales&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;Target&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;Sales&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;Target&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;Sales&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;Target&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;Sales&lt;/TD&gt;&lt;TD class="xl68" style="border-top:medium none;border-left:medium none;"&gt;Target&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl69" height="17" style="height:12.75pt;border-top:medium none;"&gt;CHOCOLATE&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;2&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;0&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;25&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;0&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;20&lt;/TD&gt;&lt;TD class="xl63" style="border-top:medium none;border-left:medium none;"&gt;17.5&lt;/TD&gt;&lt;TD class="xl68" style="border-top:medium none;border-left:medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:13.5pt;"&gt;&lt;TD class="xl70" height="18" style="height:13.5pt;border-top:medium none;"&gt;FRUIT&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;0&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;10&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;2.8&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;35&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;3.1&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;15&lt;/TD&gt;&lt;TD class="xl71" style="border-top:medium none;border-left:medium none;"&gt;0&lt;/TD&gt;&lt;TD class="xl72" style="border-top:medium none;border-left:medium none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 14:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292546#M1202193</guid>
      <dc:creator />
      <dc:date>2010-12-07T14:58:49Z</dc:date>
    </item>
    <item>
      <title>Targets with two fields in common</title>
      <link>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292547#M1202194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Umang,&lt;/P&gt;&lt;P&gt;It does not seem to work with that, my targets are all coming up at 0....here is my actual code that I used and an image of the tables that are produced...&lt;/P&gt;&lt;P&gt;product group = supplier set and product = supno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sales:&lt;BR /&gt;LOAD&lt;BR /&gt; CUSTNO,&lt;BR /&gt; CUSTNAME,&lt;BR /&gt; [INVC DATE],&lt;BR /&gt; SUPNO,&lt;BR /&gt; CATNO,&lt;BR /&gt; [NET PRICE],&lt;BR /&gt; [REG COST],&lt;BR /&gt; [COST UNIT],&lt;BR /&gt; [G/L COST],&lt;BR /&gt; AMOUNT,&lt;BR /&gt; [REG GP],&lt;BR /&gt; [SUP-ABBR],&lt;BR /&gt; SUPABRNO,&lt;BR /&gt; CUSTABRNO,&lt;BR /&gt; [CUST-ABBR]&lt;BR /&gt;FROM&lt;BR /&gt;[..\Data\QVDfiles\IN2010.qvd]&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;BR /&gt;temp:&lt;BR /&gt;LOAD [SET]&amp;amp;'-'&amp;amp;[SET TITLE] AS [SUPPLIER-SET],&lt;BR /&gt; SUPNO&lt;BR /&gt;FROM&lt;BR /&gt;[..\Data\Supplier Sets.xls]&lt;BR /&gt;(biff, embedded labels, table is [SUP-SET$]);&lt;BR /&gt;left join (Sales) load * resident temp;&lt;BR /&gt;drop table temp;&lt;BR /&gt; target:&lt;BR /&gt; LOAD&lt;BR /&gt; [SUPPLIER-SET],&lt;BR /&gt; CUSTNO,&lt;BR /&gt; [CUSTOMER-TARGET]&lt;BR /&gt;FROM&lt;BR /&gt;[..\Data\SUMMIT TARGETS.xls]&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/6724.export.png"&gt;&lt;IMG alt="" border="0" height="152" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/6724.export.png" width="513" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 16:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Targets-with-two-fields-in-common/m-p/292547#M1202194</guid>
      <dc:creator />
      <dc:date>2010-12-07T16:06:59Z</dc:date>
    </item>
  </channel>
</rss>

