<?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 Count values of calculation results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-values-of-calculation-results/m-p/65964#M10933</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;I am trying to create a text box with a count of records which meet certain criteria, but I'm having problems getting the syntax to work.&amp;nbsp; I have 2 tables in my load script (OrderA and OrderB) and within my app I have the below calculated dimension, which utilizes fields from both:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((OrderATime-OrderBTime) &amp;gt; 0, 'No', &lt;/P&gt;&lt;P&gt;if((OrderACancelTime-OrderBTime) &amp;lt; 0, 'No',&lt;/P&gt;&lt;P&gt;if((OrderACancelTime-OrderBCompletionTime) &amp;lt; 0, 'No', 'Yes')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is have a text box which counts the number of 'Yes' records - a&lt;SPAN style="font-size: 13.3333px;"&gt;t the moment the above just provides a null ('-') in the text box, however I know that there should be a value of '1' shown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;A&lt;/SPAN&gt;ny help would be hugely appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2018 15:53:42 GMT</pubDate>
    <dc:creator>siobhancrossen</dc:creator>
    <dc:date>2018-05-21T15:53:42Z</dc:date>
    <item>
      <title>Count values of calculation results</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-calculation-results/m-p/65964#M10933</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;I am trying to create a text box with a count of records which meet certain criteria, but I'm having problems getting the syntax to work.&amp;nbsp; I have 2 tables in my load script (OrderA and OrderB) and within my app I have the below calculated dimension, which utilizes fields from both:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((OrderATime-OrderBTime) &amp;gt; 0, 'No', &lt;/P&gt;&lt;P&gt;if((OrderACancelTime-OrderBTime) &amp;lt; 0, 'No',&lt;/P&gt;&lt;P&gt;if((OrderACancelTime-OrderBCompletionTime) &amp;lt; 0, 'No', 'Yes')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is have a text box which counts the number of 'Yes' records - a&lt;SPAN style="font-size: 13.3333px;"&gt;t the moment the above just provides a null ('-') in the text box, however I know that there should be a value of '1' shown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;A&lt;/SPAN&gt;ny help would be hugely appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 15:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-calculation-results/m-p/65964#M10933</guid>
      <dc:creator>siobhancrossen</dc:creator>
      <dc:date>2018-05-21T15:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count values of calculation results</title>
      <link>https://community.qlik.com/t5/QlikView/Count-values-of-calculation-results/m-p/65965#M10934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(&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;if((OrderATime-OrderBTime) &amp;gt; 0, 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&gt;if((OrderACancelTime-OrderBTime) &amp;lt; 0, 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&gt;if((OrderACancelTime-OrderBCompletionTime) &amp;lt; 0, 0, 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&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 16:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-values-of-calculation-results/m-p/65965#M10934</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-29T16:30:56Z</dc:date>
    </item>
  </channel>
</rss>

