<?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 Sum of expression question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-expression-question/m-p/1002712#M340766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to put an expression into my bar chart the will do a total sum based on the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A and B are integers&lt;/P&gt;&lt;P&gt;C is a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(A &amp;gt;= B, TextCount(C))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to put a calculation into the expression so it does a count where the initial(A &amp;gt;= B) is true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's probably really obvious what i'm doing wrong but i'm at a bit of a loss right now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was also wondering whether it is possible to create a field within my chart that i can send these counts to, rather than using my dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Oct 2015 13:14:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-18T13:14:30Z</dc:date>
    <item>
      <title>Sum of expression question</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-expression-question/m-p/1002712#M340766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to put an expression into my bar chart the will do a total sum based on the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A and B are integers&lt;/P&gt;&lt;P&gt;C is a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(A &amp;gt;= B, TextCount(C))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to put a calculation into the expression so it does a count where the initial(A &amp;gt;= B) is true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's probably really obvious what i'm doing wrong but i'm at a bit of a loss right now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was also wondering whether it is possible to create a field within my chart that i can send these counts to, rather than using my dimensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 13:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-expression-question/m-p/1002712#M340766</guid>
      <dc:creator />
      <dc:date>2015-10-18T13:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of expression question</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-expression-question/m-p/1002713#M340767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at what level do you want your condition to be verified? At the total level or at the detailed level? If you wanted to verify your condition at the detailed level, then the correct syntax is:&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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TextCount( &lt;/SPAN&gt;If(A &amp;gt;= B, C) )&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Otherwise, your condition can only be satisfied if only one value of A and only one value of B is available at the time of the calculation (which probably isn't the case).&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Check out my new book &lt;EM&gt;QlikView Your Business&lt;/EM&gt; - in the book, I'm describing in detail how to build QlikView expressions, starting from the very basics (like at what level of details should the calculation happen) and going into very complex expressions with AGGR and Set Analysis&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;cheers,&lt;/SPAN&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;Oleg Troyansky&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=HEF4KYLLE22XIQH2"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 21:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-expression-question/m-p/1002713#M340767</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-10-18T21:06:25Z</dc:date>
    </item>
  </channel>
</rss>

