<?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: Expressions for Customer Potential in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119649#M510358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked it: for CustSpecPot.SalesCategoryCode Suppress When Value is Null is activated but when I inactivate it I get the same results as before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Court&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 12:58:10 GMT</pubDate>
    <dc:creator>pacoli2013</dc:creator>
    <dc:date>2018-07-06T12:58:10Z</dc:date>
    <item>
      <title>Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119647#M510356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;I have a document with two tables Customer Potential Totals and Potential SalesCategory. And three controle-tables: Customer, Customer Potentials and Customer Unspec Potentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;The totals of the amounts in first two tables should be the totals from 01-01-2018 until now. There are no time filters and when the document is started the current year and month are set. But month should be of no influence on the amounts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;The totals of the first table called Customer Potential Totals, are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;Dimension in this table is CustomerID (when it is not equal as Not Set), the expressions are Sum of the different amounts, this is possible because the amounts are direct related with CustomerID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;The Second table (Potential SalesCategory) has as dimension &lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;CustSpecPot.SalesCategoryCode and is related with CustomerID. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;The totals of both Tables should be equal. Column Spec.Potential is in both tables equal because the amounts are coming from table CustSpecPot and the relation is CustomerID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;As expressions for the other three columns in table&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;Potential SalesCategory I tried &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB;"&gt;&lt;SPAN style="color: #000000;"&gt;Sum({$ &amp;lt; Year = {&lt;/SPAN&gt;&lt;EM style="color: #000000;"&gt;$(= max(Year))&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;} &amp;gt; } (SumCustomerLJAmountEUR)) for Actual 2018&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB;"&gt;&lt;SPAN style="color: #000000;"&gt;Sum({$ &amp;lt; Year = {&lt;/SPAN&gt;&lt;EM style="color: #000000;"&gt;$(= max(Year))&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;}, Month=, MonthShortName= &amp;gt; } SumCustomerBudgetAmount) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;for Budget&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB;"&gt;&lt;SPAN style="color: #000000;"&gt;Sum({$ &amp;lt; Year = {&lt;/SPAN&gt;&lt;EM style="color: #000000;"&gt;$(= max(Year))&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;}, Month=, MonthShortName= &amp;gt; } Aggr(Sum({$ &amp;lt; Year = {&lt;/SPAN&gt;&lt;EM style="color: #000000;"&gt;$(= max(Year))&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;}, Month=, MonthShortName= &amp;gt; } CustUnspecPot.RelevantPotential) ,CustomerID)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;for NonSpecPotential&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;But this expressions don’t give the same result as in the first table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;I hope that someone can give me expressions which give the correct results&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;Regards Court&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;I have added a document to show my problems&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-font-family: Arial; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 12:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119647#M510356</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-06T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119648#M510357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is in CustSpecPot.SalesCategoryCode field... it appears to have some nulls which you suppressed by checking 'Suppress When Value Is Null'... as soon as I uncheck that... the value matches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207211_Capture.PNG" style="height: 730px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 12:44:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119648#M510357</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T12:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119649#M510358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked it: for CustSpecPot.SalesCategoryCode Suppress When Value is Null is activated but when I inactivate it I get the same results as before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Court&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 12:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119649#M510358</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-06T12:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119650#M510359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, so does that solve your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119650#M510359</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T13:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119651#M510360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny, no it didn't solve my problem or issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 06:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119651#M510360</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-09T06:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119652#M510361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly are you hoping to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 11:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119652#M510361</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-09T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119653#M510362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;Hello Sunny,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN style="line-height: 115%; color: #000000; font-size: 10.0pt; mso-ansi-language: EN-GB; font-family: 'Verdana','sans-serif';"&gt;What I hope to see is that the totals for Actual and Budget in table Potential SalesCategory are the same as in the table Customer Potential Totals. Of course&lt;/SPAN&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt; the values per SalesCategoryCode should also be correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;The problem I have is that Actual and Budget are direct related with CustomerID (see table Customer), they are part of the Customer table. SalesCategoryCode is related with Customer by CustomerID (see table Customer Potentials). Non-SpecPotential is the third table also related by CustomerID.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;One Customer can have more then one SalesCategoryCode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;Second problem I think is that both tables (Customer Potentials and Customer UnSpec Potentials) can have the value NotSet. And this values should not be in the table Potential SalesCategory (if possible).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;So, I don’t no if my problem can be solve, I have my doubts. When you can, it would be super&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 10.0pt; line-height: 115%; font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Helvetica; color: #222222; mso-ansi-language: EN-GB;"&gt;Regards Court. &lt;/SPAN&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;&lt;P style="margin: 0 0 10pt;"&gt;&lt;SPAN lang="EN-GB" style="font-size: 11.5pt; line-height: 115%; font-family: 'Helvetica','sans-serif'; color: #222222; mso-ansi-language: EN-GB;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 06:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119653#M510362</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-10T06:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119654#M510363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I am still not sure I understand your issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Totals do match now&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207453_Capture.PNG" style="height: 793px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You think the row wise numbers are not correct? What should the correct numbers be? can you provide this information in an Excel file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 12:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119654#M510363</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-10T12:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119655#M510364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Potential values / amounts are correct but the Totals for Actual and Budget are not and but they should be. Both (Actual and Budget) are correct in table Customer Potential Totals. In the other table both values are almost double the value as in the first table. When I take one SalesCategory all values/amounts are correct in both tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example when I choose 10100000 -Schließer I get in both tables the values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spec.Potential: 53.367&lt;/P&gt;&lt;P&gt;Non Spec Potential: 1.307.500&lt;/P&gt;&lt;P&gt;Actual 2018: 70.057&lt;/P&gt;&lt;P&gt;Budget 2018: 216.942&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is the relation between CustomerID and SalesCategory in the second table Potential SalesCategory. because when I choose a CustomerID (example 22300000775) I get 318 as Actual in the first table but 1273 in the second. That is 4 times 318, reason is that this Customer has 4 SalesCategoryID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question is can this be solved with Set Analysis so that when I choose a Customer I get the right amounts for Actual and Budget in the second table Problem is that there is no key because in the Customertable there is no field SalesCategoryID. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 06:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119655#M510364</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-11T06:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119656#M510365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this looking better?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207569_Capture.PNG" style="height: 585px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119656#M510365</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-11T10:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119657#M510366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is looking great, how did you do it. Which Dimension(s) and Expressions did you use&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 12:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119657#M510366</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-11T12:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119658#M510367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CustSpecPot.SalesCategoryCode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(CustSpecPot.Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$ &amp;lt; Year = {$(= max(Year))}, Month=, MonthShortName= &amp;gt; } Aggr(Sum({$ &amp;lt; Year = {$(= max(Year))}, Month=, MonthShortName= &amp;gt; } CustUnspecPot.RelevantPotential) ,CustomerID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 0, Sum(Aggr(Sum({$&amp;lt;Year = {$(= max(Year))}, CustomerID -= {'NotSet'}&amp;gt;} SumCustomerLJAmountEUR), CustomerID)), Sum({$&amp;lt;Year = {$(= max(Year))}&amp;gt;} SumCustomerLJAmountEUR))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 0, Sum(Aggr(Sum({$&amp;lt;Year = {$(= max(Year))}, Month, MonthShortName&amp;gt;} SumCustomerBudgetAmount), CustomerID)), Sum({$&amp;lt;Year = {$(= max(Year))}, Month, MonthShortName&amp;gt;} SumCustomerBudgetAmount))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 12:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119658#M510367</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-11T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119659#M510368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 13:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119659#M510368</guid>
      <dc:creator>pacoli2013</dc:creator>
      <dc:date>2018-07-11T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions for Customer Potential</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119660#M510369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem at all... I am glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 13:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-for-Customer-Potential/m-p/119660#M510369</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-11T13:36:32Z</dc:date>
    </item>
  </channel>
</rss>

