<?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: Need To Combine If With Num and Sum Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305476#M845093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny!&amp;nbsp; Thank you.&amp;nbsp; That did indeed work.&amp;nbsp; I was making harder trying to use the not match.&amp;nbsp; Thank you for your help!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Mar 2017 19:10:17 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2017-03-29T19:10:17Z</dc:date>
    <item>
      <title>Need To Combine If With Num and Sum Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305474#M845091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having problems with the expression below.&amp;nbsp; I obviously don't have it in the right format.&amp;nbsp; I may also be over-complicating what I'm trying to do.&amp;nbsp; This expression is for a Label and thus in the Label field of an expression.&amp;nbsp; For the Label, I'm trying to sum the values which are in gigabytes, convert them to terabytes and then append the text that you see below.&amp;nbsp; However, the data has blanks in the Unplanned Reason field and a default value of "All Unplanned Requests Require A Reason", both of which I need to exclude to avoid an incorrect Sum.&amp;nbsp; Qlikview does not like the third comma (the one before [Unplanned Reason]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;not&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Unplanned Reason]&lt;/SPAN&gt;, 'ALL Unplanned Requests Require A Reason', ''), &lt;SPAN style="color: #800000;"&gt;[Unplanned Reason]&lt;/SPAN&gt;), Num((Sum({&amp;lt;Approved_YearMonth={&lt;SPAN style="color: #800000;"&gt;"*"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;} - {'2016*'} &amp;gt;}SAN) /1024), '#0.0') &amp;amp; ' TB IN UNPLANNED REASONS YTD') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does anyone know how this should be formatted?&amp;nbsp; As always, thanks in advance for any and all help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305474#M845091</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need To Combine If With Num and Sum Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305475#M845092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num((Sum({&amp;lt;Approved_YearMonth={"*"} - {'2016*'}&lt;SPAN style="color: #ff0000;"&gt;, [Unplanned Reason] -= {'ALL Unplanned Requests Require A Reason', ''}&lt;/SPAN&gt;&amp;gt;}SAN) /1024), '#0.0') &amp;amp; ' TB IN UNPLANNED REASONS YTD'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305475#M845092</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-29T19:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need To Combine If With Num and Sum Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305476#M845093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny!&amp;nbsp; Thank you.&amp;nbsp; That did indeed work.&amp;nbsp; I was making harder trying to use the not match.&amp;nbsp; Thank you for your help!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 19:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-To-Combine-If-With-Num-and-Sum-Expression/m-p/1305476#M845093</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-03-29T19:10:17Z</dc:date>
    </item>
  </channel>
</rss>

