<?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: Re: Re: Count up fields base on visual cues or values in another chart? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717536#M473946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I understand your requirement correctly you want to have a sum of all occurences &amp;gt; 5, accumulated per every occurence. I've attached a new qvw. If this doesn't meet your requirements please post expected results for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Oct 2014 21:41:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-16T21:41:09Z</dc:date>
    <item>
      <title>Count up fields base on visual cues or values in another chart?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717531#M473941</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;&lt;/P&gt;&lt;P&gt;What I am looking for, and&amp;nbsp; I may just be overcomplicating this, is I have a pivot chart that have dimensions for Month/Day of week (mon-fri) and week number (1-5 weeks per month) and for expressions is just easy SUM(field).&amp;nbsp; For each expression i setup a visual cue to highlight when a sum &amp;gt;5 in red.&amp;nbsp; What I need to be able to do, and this should likley be done in another chart, is count up for any given dimension the # of sums &amp;gt;5.&amp;nbsp; Attached is a picture of my chart and one of the expression fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to be able to see in another chart is&lt;/P&gt;&lt;P&gt;Month&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; total count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by dimension&lt;/P&gt;&lt;P&gt;January&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rolled full month up (all red values)&lt;/P&gt;&lt;P&gt;January&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filtered to Friday (6/7/6 values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This data will obiously be run for larger date ranges so i want to be able to move the Month dimension to 2nd place and be able to roll this data to DoW only and then by month etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this can be done in the same chart even, but I'm having trouble figuring out how to put it all together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 19:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717531#M473941</guid>
      <dc:creator />
      <dc:date>2014-10-13T19:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count up fields base on visual cues or values in another chart?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717532#M473942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(sum( [530 to 545]) &amp;gt; 5, 1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this will only return a maximum of 1 per row when your Pivot is fully expanded. If you want to have a count iterated over special dimensions you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( TOTAL &amp;lt;[Month Name]&amp;gt; if(aggr(sum(TOTAL &amp;lt;[Month Name]&amp;gt;[530 to 545]), [530 to 545]) &amp;gt; 5, 1 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total will ignore the diagram dimensions and sum up for the dimension enclosed in &amp;lt;&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your second question you could use and expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( TOTAL &amp;lt;[Month Name]&amp;gt; if(aggr(sum(TOTAL &amp;lt;[Month Name]&amp;gt; { &amp;lt; DoW = {Friday} &amp;gt;}&amp;nbsp; [530 to 545]), [530 to 545]) &amp;gt; 5, 1 ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analyis will only count those DoW which are Friday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I understood your requirement adequately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 20:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717532#M473942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-13T20:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count up fields base on visual cues or values in another chart?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717533#M473943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried these functions in both the main chart and in a separate one.. they don't seem to be working as planned or i totally missed something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a trimmed down file of just this info im working with to look at.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 13:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717533#M473943</guid>
      <dc:creator />
      <dc:date>2014-10-14T13:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Count up fields base on visual cues or values in another chart?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717534#M473944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;corrected the formulas, without test data it's not that easy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached qvw.As I said I'm not 100 % about your requirement so please clarify if this doesn't meet your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 14:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717534#M473944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-14T14:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count up fields base on visual cues or values in another chart?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717535#M473945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Stefan.. it is helpful, but it's still not calculating right for what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the application you sent back, in the table you created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you choose Month Name of January, DoW of Friday you'll get 3 red blocks (6,7,6).&amp;nbsp; I need a column that will count those 3 up(total of 3, not sum of the 3).. or if not a column in this table.. another table that does the calculations so that i can uncheck Friday and then for January the count goes from 3 to 6 for the other 3 red boxes that appear for Tuesday and Wednesday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 19:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717535#M473945</guid>
      <dc:creator />
      <dc:date>2014-10-16T19:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Count up fields base on visual cues or values in another chart?</title>
      <link>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717536#M473946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I understand your requirement correctly you want to have a sum of all occurences &amp;gt; 5, accumulated per every occurence. I've attached a new qvw. If this doesn't meet your requirements please post expected results for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 21:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-up-fields-base-on-visual-cues-or-values-in-another-chart/m-p/717536#M473946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-16T21:41:09Z</dc:date>
    </item>
  </channel>
</rss>

