<?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: All customers by Salesman in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388907#M145157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it is something different i know this feature. I think i have troubles in my table linkings. &lt;/P&gt;&lt;P&gt;I also try to do a new, lost customers formulas but i think i have some more problems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 10:33:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T10:33:01Z</dc:date>
    <item>
      <title>All customers by Salesman</title>
      <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388905#M145155</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;I have set that all our customers have a mark of a salesman to whom they belong. &lt;/P&gt;&lt;P&gt;I want to make a table in which a click on listbox salesman id will show all the selected salesman customers and in another table i would like to see those customers activity by sales: cost sum net sum margin, etc. But i don't know how to do if a customer did't buy anything on the selected date(Year, moth or even day) how to show all 0 values for him. Now by default if the customer doesn't buy anythinbg he is not shown.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 13:46:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388905#M145155</guid>
      <dc:creator />
      <dc:date>2013-02-27T13:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: All customers by Salesman</title>
      <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388906#M145156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the chart properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to presention tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there on the buttom part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uncheck the box suprress zero values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 14:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388906#M145156</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2013-02-27T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: All customers by Salesman</title>
      <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388907#M145157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it is something different i know this feature. I think i have troubles in my table linkings. &lt;/P&gt;&lt;P&gt;I also try to do a new, lost customers formulas but i think i have some more problems&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 10:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388907#M145157</guid>
      <dc:creator />
      <dc:date>2013-02-28T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: All customers by Salesman</title>
      <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388908#M145158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finaly manged to get back to this project. I still fail to achieve what i want. Here is the image for autolinking in my tables and the code itself:&lt;IMG __jive_id="40388" alt="tables.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/40388_tables.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;&amp;nbsp; load&lt;/P&gt;&lt;P&gt;Text(SL01001) As CustomerCode,&lt;/P&gt;&lt;P&gt;SL01002 As CustomerName,&lt;/P&gt;&lt;P&gt;SL01035 AS CustomerSalesman,&lt;/P&gt;&lt;P&gt;SL01036 As CustDiscCode;&lt;/P&gt;&lt;P&gt;SQL SELECT SL01001, SL01002, SL01035, SL01036 FROM SL01$(CompanyNo)00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statistic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Text(ST03009) As OrderNo,&lt;/P&gt;&lt;P&gt;Text(ST03014) As InvoiceNo,&lt;/P&gt;&lt;P&gt;Text(ST03007) As Salesman,&lt;/P&gt;&lt;P&gt;Text(ST03029) As Warehouse,&lt;/P&gt;&lt;P&gt;Text(ST03017) As StockCode,&lt;/P&gt;&lt;P&gt;Text(ST03018) As PG_1,&lt;/P&gt;&lt;P&gt;Mid(Trim(ST03018),1,2) As PG,&lt;/P&gt;&lt;P&gt;ST03022 As Disc, &lt;/P&gt;&lt;P&gt;ST03020 As Qty,&lt;/P&gt;&lt;P&gt;If(Len(ST03011) = 2,ST03011,If(Len(ST03011)=3,'without',If(Len(ST03011) = 8,Mid(ST03011,7,2),If(Len(ST03011) = 14,Mid(ST03011,13,2),'without')))) As CostCentr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST03021 As UnitPrice,&lt;/P&gt;&lt;P&gt;ST03023 As UnitCostPrice,&lt;/P&gt;&lt;P&gt;Text(ST03001) As CustomerCode,&lt;/P&gt;&lt;P&gt;Round(ST03020 * ST03021,0.01) As Gross,&lt;/P&gt;&lt;P&gt;Round((ST03020 * ST03021) * (1 - ST03022/100),0.01) As Net,&lt;/P&gt;&lt;P&gt;ST03020 * ST03023 As Cost,&lt;/P&gt;&lt;P&gt;((ST03020 * ST03021) * (1 - ST03022/100)) - (ST03020 * ST03023) As Profit,&lt;/P&gt;&lt;P&gt;((((ST03020 * ST03021) * (1 - ST03022/100)) - (ST03020 * ST03023))/(ST03020 * ST03023))*100 As Profit%,&lt;/P&gt;&lt;P&gt;ST03015 As Date,&lt;/P&gt;&lt;P&gt;year(ST03015) as Year,&lt;/P&gt;&lt;P&gt;month(ST03015) as Month,&lt;/P&gt;&lt;P&gt;day(ST03015) as Day,&lt;/P&gt;&lt;P&gt;ST03036 As SearchId;&lt;/P&gt;&lt;P&gt;SQL SELECT ST03001, ST03009, ST03014, ST03007, ST03029, ST03017, ST03018, ST03022, ST03020, ST03011, ST03021, ST03023, ST03015, ST03036&lt;/P&gt;&lt;P&gt;FROM ST03$(CompanyNo)00&amp;nbsp; WHERE Substring(ST03001,1,4) &amp;lt;&amp;gt; 'INTR' AND ST03017 &amp;lt;&amp;gt; 'BONUS';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i want to achieve is to show all the customers from customers table coresponding to customerssalesman field that i click on the listbox and also A Year. If a customer didn't have any sales in selected year then the output shoudb be 00 as well. For example now i have a salesman with number 225 and in customers table this salesman has 505 customers corresponing to him. I i choose 225 and year 2012 my final table is reduced to 156 customers that had some sales in 2012 Year. How should i achieve to show all his 505 customers with sales data? I tried using joins and keeps(Left Keep(Customers) LOAD * Resident Statistic;) in the very end but the result was always the same. Can somebody help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 10:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388908#M145158</guid>
      <dc:creator />
      <dc:date>2013-05-03T10:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: All customers by Salesman</title>
      <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388909#M145159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand why but loosen tables did the job...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 05:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388909#M145159</guid>
      <dc:creator />
      <dc:date>2013-05-08T05:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: All customers by Salesman</title>
      <link>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388910#M145160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also uncheck the supress missing values box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somtimes it cause problem same issue was identified in QV 9 version.... personal exp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cross check by unit testing&lt;/P&gt;&lt;P&gt;total count&lt;/P&gt;&lt;P&gt;then unchecking supress zero values box&lt;/P&gt;&lt;P&gt;then unchecking missing values box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope tht solves ur proiblem......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 05:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/All-customers-by-Salesman/m-p/388910#M145160</guid>
      <dc:creator />
      <dc:date>2013-05-08T05:57:44Z</dc:date>
    </item>
  </channel>
</rss>

