<?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: If Count Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111007#M7628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You missed ()&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 13px;"&gt;=If(count(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13px;"&gt;[filename]) &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 10 and count([filename]) &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 30 and count([filename]) &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Arvind Patil&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2018 04:42:24 GMT</pubDate>
    <dc:creator>arvind_patil</dc:creator>
    <dc:date>2018-10-17T04:42:24Z</dc:date>
    <item>
      <title>If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111005#M7626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what I'm doing wrong with the following expression.&amp;nbsp; I'm probably not using the parenthesis correctly.&amp;nbsp; I've used this exact expression before, just without the count portion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This time, I'm adding the count portion to the expression.&amp;nbsp; If a [filename] has a count of 0-10, then '0-10 Times', etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me fix this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If(count[filename]&amp;lt;=10,Dual('0-10 Times',0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If(count[filename]&amp;gt;10 and count[filename] &amp;lt;=30,Dual('11-30 Times',1),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If(count[filename]&amp;gt;30 and count[filename] &amp;lt;=50,Dual('31-50 Times',2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;If(count[filename]&amp;gt;50,Dual('50+ Times',3),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 22:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111005#M7626</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-16T22:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111006#M7627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this by any chance used as a calculated dimension or a list box expression? If not, then may be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(count&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;(&lt;/SPAN&gt;[filename]&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;)&lt;/STRONG&gt; &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;(&lt;/STRONG&gt;[filename]&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;)&lt;/STRONG&gt; &amp;gt; 10 and count&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;(&lt;/STRONG&gt;[filename]&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;)&lt;/SPAN&gt; &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;(&lt;/STRONG&gt;[filename]&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;)&lt;/STRONG&gt; &amp;gt; 30 and count&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;(&lt;/STRONG&gt;[filename]&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;)&lt;/STRONG&gt; &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;(&lt;/STRONG&gt;[filename]&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;)&lt;/STRONG&gt; &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 00:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111006#M7627</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-17T00:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111007#M7628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You missed ()&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="color: #000000; font-size: 13px;"&gt;=If(count(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13px;"&gt;[filename]) &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 10 and count([filename]) &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 30 and count([filename]) &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Arvind Patil&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 04:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111007#M7628</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2018-10-17T04:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111008#M7629</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;It did not work.&amp;nbsp; The expression was marked as "OK", but the dimension is showing as "Invalid":&lt;IMG __jive_id="216129" alt="OK Dimension.png" class="jive-image image-1" src="/legacyfs/online/216129_OK Dimension.png" style="height: 536px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="216130" alt="Invalid Dimension.png" class="jive-image image-2" src="/legacyfs/online/216130_Invalid Dimension.png" style="height: 328px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To give you some more background on what I'm trying to do, I want to create a bar chart similar to this one:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="216131" alt="example.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/216131_example.png" style="height: 228px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;where the count of the [filename] is grouped into 1-10 Times, 11-30 Times, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111008#M7629</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-17T15:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111009#M7630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work.&amp;nbsp; Please see my response to Sunny above.&amp;nbsp; Do you have any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111009#M7630</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-17T15:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111010#M7631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, this was getting used as a calculated dimension... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;SPAN style="color: #ff0000;"&gt;Aggr(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 10 and count([filename]) &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 30 and count([filename]) &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count([filename]) &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #ff0000;"&gt;, [filename])&lt;/STRONG&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111010#M7631</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-17T15:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111011#M7632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it worked.&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Calculated Dimension.png" class="jive-image image-1" src="/legacyfs/online/216132_Calculated Dimension.png" style="height: 358px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111011#M7632</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-17T15:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111012#M7633</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;I need additional help with this formula.&amp;nbsp; I have this bar chart that I created with the formula that you provided:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-10-17 14_22_50-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" class="jive-image image-1" src="/legacyfs/online/216159_2018-10-17 14_22_50-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" style="height: 337px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if I make a selection and on this bar chart, for lets say, 31-50 Times, this works.&amp;nbsp; I get this result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-10-17 14_24_38-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" class="jive-image image-2" src="/legacyfs/online/216160_2018-10-17 14_24_38-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" style="height: 229px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now if I make a&amp;nbsp; selection on the pie chart, for lets say, 2018, the bar chart changes:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-10-17 14_26_31-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" class="jive-image image-3" src="/legacyfs/online/216167_2018-10-17 14_26_31-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" style="height: 252px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of giving me these results, I would want there to be no columns shown on the bar chart because there are no longer any filenames in 2018 that were used 31-50 Times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand why it's giving me these results - because we actually filtered for the "Filename" and not for "31-50 Times":&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-10-17 14_30_40-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" class="image-4 jive-image" src="/legacyfs/online/216168_2018-10-17 14_30_40-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" style="height: 232px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I adjust the formula that you gave me earlier to fix this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 21:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111012#M7633</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-17T21:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111013#M7634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;{&amp;lt;Year&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;{&amp;lt;Year&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 10 and count(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;{&amp;lt;Year&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;{&amp;lt;Year&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 30 and count(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;{&amp;lt;Year&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(count(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;{&amp;lt;Year&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, [filename])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 22:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111013#M7634</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-17T22:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111014#M7635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that gave me this result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-10-17 15_56_32-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" class="jive-image image-1" src="/legacyfs/online/216173_2018-10-17 15_56_32-Enterprise Reports Usage - Report Usage (continued) _ Sheets - Qlik Sense.png" style="height: 351px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I'll clarify that the problem doesn't just happen when I select a specific Year.&amp;nbsp; It also happens when I make a selection on any other field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 23:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111014#M7635</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-17T23:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111015#M7636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where we can see the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 10:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111015#M7636</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-18T10:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111016#M7637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, you might be able to try this and see if this works&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{1}&lt;/SPAN&gt; [filename]) &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 10 and count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 30 and count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;, [filename])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{1&amp;lt;[filename] = p([filename])&amp;gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 10, Dual('0-10 Times', 0),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;lt;[filename] = p([filename])&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 10 and count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;lt;[filename] = p([filename])&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 30, Dual('11-30 Times', 1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;lt;[filename] = p([filename])&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 30 and count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;lt;[filename] = p([filename])&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;lt;= 50, Dual('31-50 Times', 2),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; If(count(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;{&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;1&lt;STRONG style="color: #ff0000; font-size: 12pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&amp;lt;[filename] = p([filename])&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;}&lt;/SPAN&gt; [filename]) &amp;gt; 50, Dual('50+ Times', 3)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;, [filename])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 10:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111016#M7637</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-18T10:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: If Count Expression</title>
      <link>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111017#M7638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the last one worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a mistake with the suggestion you gave me yesterday.&amp;nbsp; I forgot that I changed the field "filename" to "Filename" with an uppercase F.&amp;nbsp; So that was the problem yesterday.&amp;nbsp; It's possible that the solution you gave me yesterday worked but it was my oversight with the field name change.&amp;nbsp; I'm going to use the last one though since I just tried it and it works.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you SO much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-Count-Expression/m-p/111017#M7638</guid>
      <dc:creator>ltc</dc:creator>
      <dc:date>2018-10-18T15:35:00Z</dc:date>
    </item>
  </channel>
</rss>

