<?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 Logic issue in the Straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296526#M404639</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;I have a straight table , calculating spend and MinSpend&amp;nbsp; KPI's. If Spend is&amp;nbsp;&amp;nbsp; greater than MinSpend, those count of Resident names has to show in a Textbox.In the below example,i have 17 Resident names &lt;SPAN style="font-size: 10pt;"&gt;having spend &amp;gt; MinSpend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What is the logic to show these counts in a text box.&amp;nbsp; .KPI Logics are mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Spend.PNG" class="jive-image image-1" height="264" src="https://community.qlik.com/legacyfs/online/159675_Spend.PNG" style="height: 263.777px; width: 269px;" width="269" /&gt;&lt;IMG alt="Above.PNG" class="jive-image image-2" height="58" src="https://community.qlik.com/legacyfs/online/159676_Above.PNG" style="font-size: 10pt; height: 57.6111px; width: 170px;" width="170" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spend Logic: =if(sum(TotalPaid)&amp;gt;MinSpend,(sum(TotalPaid)),0)&lt;/P&gt;&lt;P&gt;MinSpend Logic: &lt;/P&gt;&lt;P&gt;411.15*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}DISTINCT(Month))*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}Distinct(Year))*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}distinct(FirstName&amp;amp;LastName))+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9*count({&amp;lt;Community={'Someren Glen'}&amp;gt;}Distinct(ServDate))*count({&amp;lt;Community={'Someren Glen'}&amp;gt;}distinct(FirstName&amp;amp;LastName))+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;268.83*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}DISTINCT(Month))*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}Distinct(Year))*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}distinct(FirstName&amp;amp;LastName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2017 20:51:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-04-10T20:51:42Z</dc:date>
    <item>
      <title>Logic issue in the Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296526#M404639</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;I have a straight table , calculating spend and MinSpend&amp;nbsp; KPI's. If Spend is&amp;nbsp;&amp;nbsp; greater than MinSpend, those count of Resident names has to show in a Textbox.In the below example,i have 17 Resident names &lt;SPAN style="font-size: 10pt;"&gt;having spend &amp;gt; MinSpend.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What is the logic to show these counts in a text box.&amp;nbsp; .KPI Logics are mentioned below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Spend.PNG" class="jive-image image-1" height="264" src="https://community.qlik.com/legacyfs/online/159675_Spend.PNG" style="height: 263.777px; width: 269px;" width="269" /&gt;&lt;IMG alt="Above.PNG" class="jive-image image-2" height="58" src="https://community.qlik.com/legacyfs/online/159676_Above.PNG" style="font-size: 10pt; height: 57.6111px; width: 170px;" width="170" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spend Logic: =if(sum(TotalPaid)&amp;gt;MinSpend,(sum(TotalPaid)),0)&lt;/P&gt;&lt;P&gt;MinSpend Logic: &lt;/P&gt;&lt;P&gt;411.15*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}DISTINCT(Month))*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}Distinct(Year))*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}distinct(FirstName&amp;amp;LastName))+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9*count({&amp;lt;Community={'Someren Glen'}&amp;gt;}Distinct(ServDate))*count({&amp;lt;Community={'Someren Glen'}&amp;gt;}distinct(FirstName&amp;amp;LastName))+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;268.83*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}DISTINCT(Month))*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}Distinct(Year))*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}distinct(FirstName&amp;amp;LastName))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 20:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296526#M404639</guid>
      <dc:creator />
      <dc:date>2017-04-10T20:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Logic issue in the Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296527#M404640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( Aggr(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If( Sum(TotalPaid) &amp;gt; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;411.15*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}DISTINCT(Month))*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}Distinct(Year))*count({&amp;lt;Community={'Holly Creek'}&amp;gt;}distinct(FirstName&amp;amp;LastName))+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;9*count({&amp;lt;Community={'Someren Glen'}&amp;gt;}Distinct(ServDate))*count({&amp;lt;Community={'Someren Glen'}&amp;gt;}distinct(FirstName&amp;amp;LastName))+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;268.83*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}DISTINCT(Month))*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}Distinct(Year))*count({&amp;lt;Community={'Clermont Park'}&amp;gt;}distinct(FirstName&amp;amp;LastName)), 1,0)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, FirstName, LastName))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 21:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296527#M404640</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-04-10T21:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Logic issue in the Straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296528#M404641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan,&lt;/P&gt;&lt;P&gt;Its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2017 22:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-issue-in-the-Straight-table/m-p/1296528#M404641</guid>
      <dc:creator />
      <dc:date>2017-04-10T22:07:50Z</dc:date>
    </item>
  </channel>
</rss>

