<?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: If(Len) in Insight Advisor</title>
    <link>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910866#M109</link>
    <description>&lt;P&gt;Thank&amp;nbsp; you by breaking it up I was able to figure out I need to put the sum function and lose the brackets!&amp;nbsp; Then it returned my values! Thanks again!&lt;/P&gt;
&lt;P&gt;if(Len([Account_Lapse_Date])&amp;gt;0,sum(REN_RTO_DNM_SYP-REN_RTO_NMR_SYP),0)&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 22:14:52 GMT</pubDate>
    <dc:creator>Sierrea</dc:creator>
    <dc:date>2022-03-28T22:14:52Z</dc:date>
    <item>
      <title>If(Len)</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910860#M106</link>
      <description>&lt;P&gt;Hi I am trying to use this expression&lt;EM&gt;&amp;nbsp;if(Len([LOB_Lapse_Date])&amp;gt;0,([REN_RTO_DNM_SYP]-[REN_RTO_NMR_SYP]),0)&lt;/EM&gt;. It is returning the zeros, but not the numbers for the portion I need substracted.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 21:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910860#M106</guid>
      <dc:creator>Sierrea</dc:creator>
      <dc:date>2022-03-28T21:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: If(Len)</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910863#M107</link>
      <description>&lt;P&gt;It is difficult to try and help without knowing what the values of those fields are. &lt;/P&gt;
&lt;P&gt;You could try debugging this by splitting this into two expressions - Len(Field) and (Field1-Field2) - and seeing if each one returns the expected value individually.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 22:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910863#M107</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-28T22:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: If(Len)</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910865#M108</link>
      <description>&lt;P&gt;Make sure&amp;nbsp;&lt;EM&gt;[REN_RTO_DNM_SYP] &lt;/EM&gt;and &lt;EM&gt;[REN_RTO_NMR_SYP] &lt;/EM&gt;are numeric values otherwise the subtraction won't work. You may rely on these functions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;IsNum(&lt;EM&gt;Field&lt;/EM&gt;) to evaluate if it's a number or not&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Num#(&lt;EM&gt;Field&lt;/EM&gt;) &amp;nbsp;to take the textual representation of the input expression and generate a number&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 22:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910865#M108</guid>
      <dc:creator>albertovarela</dc:creator>
      <dc:date>2022-03-28T22:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: If(Len)</title>
      <link>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910866#M109</link>
      <description>&lt;P&gt;Thank&amp;nbsp; you by breaking it up I was able to figure out I need to put the sum function and lose the brackets!&amp;nbsp; Then it returned my values! Thanks again!&lt;/P&gt;
&lt;P&gt;if(Len([Account_Lapse_Date])&amp;gt;0,sum(REN_RTO_DNM_SYP-REN_RTO_NMR_SYP),0)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 22:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Insight-Advisor/If-Len/m-p/1910866#M109</guid>
      <dc:creator>Sierrea</dc:creator>
      <dc:date>2022-03-28T22:14:52Z</dc:date>
    </item>
  </channel>
</rss>

