<?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: counting expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428034#M569985</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;the expression name is Visual. but it carries no real pre-defined field name.&lt;/P&gt;&lt;P&gt;is it still possible to calculate values from an expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Sep 2012 15:58:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-23T15:58:34Z</dc:date>
    <item>
      <title>counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428030#M569981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i would like to be able to create a stack chart out of an expression column which shows values -1 and 0. (see screenshot)&lt;/P&gt;&lt;P&gt;-1 = red &amp;amp; 1 = green &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to count these expressions to receive an amount for both values and represent them in a piechart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the actual values represent SLA Level measurements if a a case has met the time requirements or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a picture reference is attached to this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Best&lt;/P&gt;&lt;P&gt;Bradley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 18:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428030#M569981</guid>
      <dc:creator />
      <dc:date>2012-09-20T18:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428031#M569982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Use set analysis:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Visual={"-1"}&amp;gt;} Visual)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Sep 2012 19:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428031#M569982</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-22T19:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428032#M569983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried with the code provided, however recieve the following message; Bad fieldname(s); Visual;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any tips;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 14:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428032#M569983</guid>
      <dc:creator />
      <dc:date>2012-09-23T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428033#M569984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obviously, you should change the expression according to your field names.&lt;/P&gt;&lt;P&gt;I guess that Visual is a field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 15:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428033#M569984</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-23T15:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428034#M569985</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;the expression name is Visual. but it carries no real pre-defined field name.&lt;/P&gt;&lt;P&gt;is it still possible to calculate values from an expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 15:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428034#M569985</guid>
      <dc:creator />
      <dc:date>2012-09-23T15:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428035#M569986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;The expression is named Visual.&lt;/P&gt;&lt;P&gt;Is it possible to still count values if the data is derived from an expression and not a true field name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 15:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428035#M569986</guid>
      <dc:creator />
      <dc:date>2012-09-23T15:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428036#M569987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's possible. But you have to use some dimension to perform such selection (as if it's done manually), for example:&lt;/P&gt;&lt;P&gt; =Count({&amp;lt;Dimension={"=(Your expression for Visual)=-1"}&amp;gt;} Dimension)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 16:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428036#M569987</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-23T16:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428037#M569988</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;Thank you kindly once again.&lt;/P&gt;&lt;P&gt;I have tried to establish this logic into my application however, it seems to show error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering If I attach my application to this mail, would it be possible for you to take a look at my dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help would be greatly appreciated in this matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 03:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428037#M569988</guid>
      <dc:creator />
      <dc:date>2012-09-24T03:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428038#M569989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I see &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a bit monstrous, cause you have a rather complex expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Ärende_ID={"=(&lt;STRONG&gt;(NetWorkDays(Created,[Updated])- IF(Frac([Updated]) &amp;lt; Time#('17:00','hh:mm'),1,0)-IF(Frac([Updated]) &amp;gt;&amp;nbsp; Time#('17:00','hh:mm'),1,0)- IF(Frac(Created) &amp;gt; Time#('08:00','hh:mm'),1,0) - IF(Frac(Created) &amp;lt; Time#('08:00','hh:mm'),1,0))*8+ RangeMax(((Time#('17:00','hh:mm') - Frac(Created))*24),0)+ RangeMax(((Frac([Updated]) - Time#('09:00','hh:mm'))*24),0)&lt;/STRONG&gt;) &amp;gt; SLAend"}&amp;gt;} Ärende_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could consider to make some calculations in script to simplify it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And just to get better understanding what it is doing (this one is not working but looks much easier):&lt;/P&gt;&lt;P&gt; =Count({&amp;lt;Ärende_ID={"=[Total Hours]&amp;gt;SLAend"}&amp;gt;} Ärende_ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 04:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428038#M569989</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-24T04:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428039#M569990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. It came at a very needy time and now I understand how the logic should be applied to further applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You know Qlikview is extremely powerful once you understand the mechanics behind it all.&lt;/P&gt;&lt;P&gt;I am an avid SAP BW consultant but find myself more and more convinced of Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 06:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428039#M569990</guid>
      <dc:creator />
      <dc:date>2012-09-24T06:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: counting expressions</title>
      <link>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428040#M569991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome.&lt;/P&gt;&lt;P&gt;That's right, and sometimes the&amp;nbsp; mechanics is not so obvious &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it helps, please, close the question. Thx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 06:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-expressions/m-p/428040#M569991</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-24T06:52:05Z</dc:date>
    </item>
  </channel>
</rss>

