<?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 If statement to only show results where the total count exceeds 10 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273728#M26269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlik Sense and am struggling with an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a pivot table I need to see all of the users who have submitted 10 or more quotations, if a user has submitted less than 10 quotations I do not want them to reflect on the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below if the expression I have managed to get to, although it does show the data is also still shows all total submissions under 10 and so does not work fully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(sum({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID)&amp;gt;10,Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I need a measure as an expression for a simple KPI that shows the total number of users who has submitted 10 or more quotations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 10:50:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-16T10:50:58Z</dc:date>
    <item>
      <title>If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273728#M26269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlik Sense and am struggling with an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a pivot table I need to see all of the users who have submitted 10 or more quotations, if a user has submitted less than 10 quotations I do not want them to reflect on the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below if the expression I have managed to get to, although it does show the data is also still shows all total submissions under 10 and so does not work fully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(sum({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID)&amp;gt;10,Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I need a measure as an expression for a simple KPI that shows the total number of users who has submitted 10 or more quotations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 10:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273728#M26269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T10:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273729#M26270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #ff0000;"&gt;Count&lt;/SPAN&gt;({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID) &amp;gt; 10, Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID), 0)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this for KPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID) &amp;gt; 10, 1, 0)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273729#M26270</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-16T12:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273730#M26271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below statement as a calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(If(sum({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID)&amp;gt;10, YourDimension), YourDimension)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Farrukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 12:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273730#M26271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T12:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273731#M26272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, the slight change does help. however any user with no submissions at all shows on the pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So all users between 1 and 9 have now gone, but anyone with 0 is still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field in question as 1 to denote a yes and a 0 to denote a no, not sure if this is impacting the expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally the aggr function brings back no value a - is displayed, not sure why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 13:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273731#M26272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T13:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273732#M26273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Farrukh, thank you for responding. Is this for the simple KPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 13:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273732#M26273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-16T13:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273733#M26274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not completely sure I understand the problem, but may be this in the pivot table? Removing , 0 at the end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID) &amp;gt; 10, Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, not sure the issue with the Aggr() function, can you share a sample to see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 16:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273733#M26274</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-16T16:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273734#M26275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, the Aggr() was not complete... try this:&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;Sum(Aggr(If(Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID) &amp;gt; 10, 1, 0)&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TransactionID&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 16:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273734#M26275</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-16T16:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273735#M26276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks once again, so close now, and really just aesthetic to go. The Pivot table now correctly shows all users who have greater than 10 sales, anyone who does not fall into the category of 10 or more reflects as - (or Null).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see how you hide null values in a dimension, but cannot seem to hide null values in our measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to hide these users who do not fit the 10 or more criteria range?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 09:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273735#M26276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-19T09:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273736#M26277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks once again, you're certainly getting to the bottom of this a lot quicker than I could!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The count does now work, however it is counting all users as opposed to the users who hit the criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example, when I use a filter to show date for November only the count is 8.77K. We did have 8.77K active users in November, but only 1326 of them hit the target of 10 or more sales.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 10:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273736#M26277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-19T10:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273737#M26278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to amend your statement slightly to show 0 instead of null and then used the addons section to hide the 0's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this part is now complete, thank you Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just the simple KPI bit I am still struggling with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 10:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273737#M26278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-19T10:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273738#M26279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks once again Sunny, after playing the expression for a while I managed to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've been a great help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 11:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273738#M26279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-19T11:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to only show results where the total count exceeds 10</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273739#M26280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I am glad I have been able to offer some help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 11:58:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-to-only-show-results-where-the-total-count-exceeds/m-p/1273739#M26280</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-19T11:58:33Z</dc:date>
    </item>
  </channel>
</rss>

