<?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: Conditional Calculated Value in Table Chart Column? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426198#M1158944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I settled on was setting the "Number Format Settings" to "Number" for this expression, with a precision of 3. This gave me the required 2 decimal places for the calculated values and a single "0" for all the others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 15:25:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-11T15:25:43Z</dc:date>
    <item>
      <title>Conditional Calculated Value in Table Chart Column?</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426194#M1158940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(I have searched for this answer but have not found anything applicable to my situation.) I have a column in a table chart whose values should only be calculated if their status is "Submitted", "Resubmitted" or "In Approval"; otherwise it should display a null value. Can someone help me understand the proper syntax required for this and in which field I need to place it? This is as far as I've gotten with the expression guessing and obviously it's not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552310510558418" jivemacro_uid="_13552310510558418"&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 12pt;"&gt;=if({status_name='Submitted','Resubmitted','In Approval'}, (num(((today()+1)-submit_date),'#,##0.00')),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 13:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426194#M1158940</guid>
      <dc:creator />
      <dc:date>2012-12-11T13:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Calculated Value in Table Chart Column?</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426195#M1158941</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;Check the set analysis expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552318529973615" jivemacro_uid="_13552318529973615"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Sum({&amp;lt; status_name = {'Submitted', 'Resubmitted', 'In Approval'} &amp;gt;} ((today()+1)-submit_date))&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then set the number format in the chart properties, Number tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 13:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426195#M1158941</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T13:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Calculated Value in Table Chart Column?</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426196#M1158942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that works. In the interest of keeping the QV community clean of redundant posts - the cells that don't meet the criteria are correctly showing "0.00". But is there a way to change the zeroes to hypens or blanks? If not it's fine, just wondering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426196#M1158942</guid>
      <dc:creator />
      <dc:date>2012-12-11T14:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Calculated Value in Table Chart Column?</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426197#M1158943</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;By default aggregation functions in charts show zero even when there is no record in the source. So a Sum() for a month that does not have values will show "0".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, in the chart properties, Presentation tab, you can play with the Suppress Zero Values, and populate null/missing values and set according to your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426197#M1158943</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Calculated Value in Table Chart Column?</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426198#M1158944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I settled on was setting the "Number Format Settings" to "Number" for this expression, with a precision of 3. This gave me the required 2 decimal places for the calculated values and a single "0" for all the others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Calculated-Value-in-Table-Chart-Column/m-p/426198#M1158944</guid>
      <dc:creator />
      <dc:date>2012-12-11T15:25:43Z</dc:date>
    </item>
  </channel>
</rss>

