<?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 Conditional Formula not returning exact results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359940#M492857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview so please excuse this easy question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a straight table in which there is an Author column and an Nutra Cold Call calculation based on the results being "yes" in my database.&lt;/P&gt;&lt;P&gt;I have asked it to use a unique field (PrinRprt_ID) to count if this Nutra field is equal to Y.&lt;/P&gt;&lt;P&gt;However, when I create this - it does not return any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my table - What am I missing??&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Misty&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="16617" class="jive-image-thumbnail jive-image" onclick="" alt="Nutra_Call.PNG" src="https://community.qlik.com/legacyfs/online/16617_Nutra_Call.PNG" width="450" /&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13401289696152559" jivemacro_uid="_13401289696152559"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2012 18:07:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-19T18:07:10Z</dc:date>
    <item>
      <title>Conditional Formula not returning exact results</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359940#M492857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Qlikview so please excuse this easy question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a straight table in which there is an Author column and an Nutra Cold Call calculation based on the results being "yes" in my database.&lt;/P&gt;&lt;P&gt;I have asked it to use a unique field (PrinRprt_ID) to count if this Nutra field is equal to Y.&lt;/P&gt;&lt;P&gt;However, when I create this - it does not return any results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my table - What am I missing??&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Misty&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="16617" class="jive-image-thumbnail jive-image" onclick="" alt="Nutra_Call.PNG" src="https://community.qlik.com/legacyfs/online/16617_Nutra_Call.PNG" width="450" /&gt;&lt;/P&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13401289696152559" jivemacro_uid="_13401289696152559"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 18:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359940#M492857</guid>
      <dc:creator />
      <dc:date>2012-06-19T18:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formula not returning exact results</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359941#M492858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Misty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the conditional enablement is used to enable or disable the expression completely (i.e. evaluated once per chart calculation), not record based. For example, you can use a variable to enable / disable the expression, and you can set the variable via a button or an input box. You should not use an expression here that can't be evaluated to an unambiguous result in global context (like in a text box). So I would suggest just disabling the conditional again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is what you need here (in expression definition):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count( if(NUTRA_NEW_COLD_CALL = 'Y', PrinRprt_ID))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=count({&amp;lt;NUTRA_NEW_COLD_CALL = {Y}&amp;gt;} PrinRprt_ID)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 18:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359941#M492858</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-19T18:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formula not returning exact results</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359942#M492859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!! That worked perfectly and now I understand with the "conditional" box is referring to.&lt;/P&gt;&lt;P&gt;Thank you again...I have wasted hours on this and really appreciate the help!!&lt;BR /&gt;Have a great day!&lt;/P&gt;&lt;P&gt;Misty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 18:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Formula-not-returning-exact-results/m-p/359942#M492859</guid>
      <dc:creator />
      <dc:date>2012-06-19T18:56:42Z</dc:date>
    </item>
  </channel>
</rss>

