<?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: Calculate field with null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700327#M1079832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can't calculate.not sure why. what if calculate all code v except code v with detail project &amp;amp; operation activities? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 03:28:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-03T03:28:48Z</dc:date>
    <item>
      <title>Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700325#M1079830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two column that use these formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail={'Operation Activities'}&amp;gt;}HourSpent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail={'Project'}&amp;gt;}HourSpent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What formula should i use to get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- code type is code v&lt;/P&gt;&lt;P&gt;- detail is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 02:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700325#M1079830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T02:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700326#M1079831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail={&lt;SPAN style="font-family: arial, sans, sans-serif;"&gt;"=isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Detail&lt;/SPAN&gt;)"&lt;/SPAN&gt;}&amp;gt;}HourSpent)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 02:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700326#M1079831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T02:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700327#M1079832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can't calculate.not sure why. what if calculate all code v except code v with detail project &amp;amp; operation activities? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 03:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700327#M1079832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T03:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700328#M1079833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, you can even do that if you have only "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;project" &amp;amp; "operation activities" in detail column. You may use below script.&lt;/SPAN&gt;&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;"&gt;Sum({&amp;lt;[Code Type]={'Code V'},Detail&lt;STRONG&gt;-&lt;/STRONG&gt;={'Operation Activities', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Project'&lt;/SPAN&gt;}&amp;gt;} HourSpent)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;PS: Added "-" after Detail field to exclude &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Operation Activities' and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'Project'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 06:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700328#M1079833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-03T06:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700329#M1079834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a flag in the script&lt;/P&gt;&lt;P&gt;eg. if(len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;Detail)=0,1,0)as FlagDetailNull&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this flag in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nirav Bhimani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 06:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700329#M1079834</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2014-07-03T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700330#M1079835</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;Filtering Null is a tricky part.&lt;/P&gt;&lt;P&gt;You can try {*} to select all values that should exclude the null value and - {''} should get rid of the blank values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail={'*'}-{''}&amp;gt;}HourSpent)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 08:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700330#M1079835</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-03T08:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate field with null</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700331#M1079836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Try this&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;"&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail-={'*'}&amp;gt;}HourSpent)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;or this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail={''}&amp;gt;}HourSpent)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;[Code Type]={'Code V'},Detail={' '}&amp;gt;}HourSpent)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 09:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-field-with-null/m-p/700331#M1079836</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-07-03T09:07:06Z</dc:date>
    </item>
  </channel>
</rss>

