<?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: Nested set analysis: show customers with quotation but not orders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236556#M393267</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The chart on the right has date as a dimension and other one uses Supplier account. How is the comparison made? I mean can you share what is the desired output? Numbers you expect to see would help a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 17:30:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-02-23T17:30:30Z</dc:date>
    <item>
      <title>Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236549#M393260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear fellow Qlikview users:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a pivot table that is supposed to show:&lt;/P&gt;&lt;P&gt;- Customers who&lt;STRONG&gt; have received quotations&lt;/STRONG&gt; from my company &lt;STRONG&gt;but who have not placed an order&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer.CUSTOMER_ACCOUNT = customer number who identifies the client and is used for further analysis&lt;/P&gt;&lt;P&gt;Sales_Header.ORDER_TYPE = either "Sales Quote" or "Sales Order". We're using this in the nested set analysis to show only those accounts for who there is not "Sales Order" in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I'm using is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Only&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;Customer.CUSTOMER_ACCOUNT&lt;/SPAN&gt; = {&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(Count({&amp;lt;{Sales_Header.ORDER_TYPE={'Sales Order'}&amp;gt;}Sales_Header.ORDER_TYPE) = 0)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Customer.CUSTOMER_ACCOUNT&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Would be great if someone has an idea. I've experimented a lot, but cannot get it to work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Dennis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 12:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236549#M393260</guid>
      <dc:creator />
      <dc:date>2017-02-21T12:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236550#M393261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({$&amp;lt;Customer.CUSTOMER_ACCOUNT = {&lt;SPAN style="color: #ff0000;"&gt;"=&lt;/SPAN&gt;Count({&amp;lt;{Sales_Header.ORDER_TYPE={'Sales Order'}&amp;gt;}Sales_Header.ORDER_TYPE) = 0&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;}Customer.CUSTOMER_ACCOUNT)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 12:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236550#M393261</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-21T12:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236551#M393262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression still returns a zero. Even with the additional "= and " in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I simplify the expression, for example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales_Header.ORDER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Sales Quote'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-size: 8pt;"&gt;Customer.CUSTOMER_ACCOUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales_Header.ORDER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'Sales Order}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Customer.CUSTOMER_ACCOUNT &lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;hen there is data and I could reconcile the lists in Excel. That's not the point of course. Still think something is wrong with the nested expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Dennis&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 14:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236551#M393262</guid>
      <dc:creator />
      <dc:date>2017-02-21T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236552#M393263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see an error in set analysis syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Only({$&amp;lt;Customer.CUSTOMER_ACCOUNT&lt;/STRONG&gt;&lt;STRONG&gt; = {"=Cou&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;nt({&amp;lt;&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;{&lt;/SPAN&gt;Sales_Header.ORDER_TYPE={'Sales Order'}&amp;gt;}Sales_Header.ORDER_TYPE)&lt;/STRONG&gt;&lt;STRONG&gt; = 0"}&amp;gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}Customer.CUSTOMER_ACCOUNT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if removing this resolves the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({$&amp;lt;Customer.CUSTOMER_ACCOUNT = {"=Count({&amp;lt;Sales_Header.ORDER_TYPE = {'Sales Order'}&amp;gt;} Sales_Header.ORDER_TYPE) = 0"}&amp;gt;} Customer.CUSTOMER_ACCOUNT)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 16:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236552#M393263</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-21T16:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236553#M393264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not yet. I will look for a way to upload part of the app. Think it's difficult to troubleshoot otherwise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236553#M393264</guid>
      <dc:creator />
      <dc:date>2017-02-22T14:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236554#M393265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree. Look here for help with uploading&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236554#M393265</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-22T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236555#M393266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the very helpful links. I am uploading a sample. The chart on the right shows customers, quotes and orders separately. The one on the left is the intended format. It's supposed to show clients who have received quotes but have not placed an order. They should have x number of "Sales Quote" and 0 number of "Sales Order". If you can make time to take a peek - great. I had to scramble some data, but you should get the picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236555#M393266</guid>
      <dc:creator />
      <dc:date>2017-02-23T16:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis: show customers with quotation but not orders</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236556#M393267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The chart on the right has date as a dimension and other one uses Supplier account. How is the comparison made? I mean can you share what is the desired output? Numbers you expect to see would help a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 17:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-set-analysis-show-customers-with-quotation-but-not-orders/m-p/1236556#M393267</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-23T17:30:30Z</dc:date>
    </item>
  </channel>
</rss>

