<?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 IF code condition explanation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/IF-code-condition-explanation/m-p/1661824#M49702</link>
    <description>&lt;P&gt;Hi everyone, I am a little confuse with this code, I know basic thing like IF(condition, true, else) and wildmatch to look some letters, please can someone give an explanation, I really apreciated.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(PrimeraNoMonitoreo&amp;gt;SegundaNoMonitoreo,SegundaNoMonitoreo-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if([Submit Date]&amp;gt;PrimeraNoMonitoreo or [Submit Date]&amp;gt;SegundaNoMonitoreo,0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo),SegundaNoMonitoreo-[Submit Date],PrimeraNoMonitoreo-[Submit Date]))) as T_TTN,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;//Cambio&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(([Assigned Group]='NOC Monitoreo CORE' or [Assigned Group]='NOC Monitoreo TX' or [Assigned Group]='NOC Monitoreo') &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;and [Service Type]='Infrastructure Event','No Aplica'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(wildmatch(Submitter,'NAE*')&amp;gt;0 and isnull([PrimeraIntervencionHumana])=0,[PrimeraIntervencionHumana]-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if([Service Type]='Infrastructure Restoration' and (Submitter='AOR_USER' or Submitter='UserAppPdg'),PrimeraIntervencionHumana-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;// ,if(([Assigned Group]='NOC Monitoreo CORE' or [Assigned Group]='NOC Monitoreo TX')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;// and [Service Type]='Infrastructure Restoration' and wildmatch(Submitter,'NAE*')&amp;gt;0, //&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;[PrimeraIntervencionHumana]-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo) and (Submitter='AOR_USER' or Submitter='UserAppPdg'),PrimeraIntervencionHumana-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo)=0 and (Submitter='AOR_USER' or Submitter='UserAppPdg'),PrimeraNoMonitoreo-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,'No Aplica'))))) as TTTN_new,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(([Assigned Group]='NOC Monitoreo CORE' or [Assigned Group]='NOC Monitoreo TX') &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;and [Service Type]='Infrastructure Event' and IsNull(PrimeraIntervencionHumana)=0,'Sin hora de Notificacion'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo)=0 and (Submitter='AOR_USER' or Submitter='UserAppPdg')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,PrimeraNoMonitoreo&amp;amp;'-'&amp;amp;[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,PrimeraIntervencionHumana&amp;amp;'-'&amp;amp;[Submit Date])) as TTTN_new_texto,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(PrimeraNoMonitoreo&amp;gt;SegundaNoMonitoreo,'SegundaNoMonitoreo-[Submit Date]'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo),'SegundaNoMonitoreo-[Submit Date]','PrimeraNoMonitoreo-[Submit Date]')) as T_TTN_formula, &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
    <dc:creator>davemontoya</dc:creator>
    <dc:date>2021-12-20T21:38:40Z</dc:date>
    <item>
      <title>IF code condition explanation</title>
      <link>https://community.qlik.com/t5/App-Development/IF-code-condition-explanation/m-p/1661824#M49702</link>
      <description>&lt;P&gt;Hi everyone, I am a little confuse with this code, I know basic thing like IF(condition, true, else) and wildmatch to look some letters, please can someone give an explanation, I really apreciated.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(PrimeraNoMonitoreo&amp;gt;SegundaNoMonitoreo,SegundaNoMonitoreo-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if([Submit Date]&amp;gt;PrimeraNoMonitoreo or [Submit Date]&amp;gt;SegundaNoMonitoreo,0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo),SegundaNoMonitoreo-[Submit Date],PrimeraNoMonitoreo-[Submit Date]))) as T_TTN,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;//Cambio&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(([Assigned Group]='NOC Monitoreo CORE' or [Assigned Group]='NOC Monitoreo TX' or [Assigned Group]='NOC Monitoreo') &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;and [Service Type]='Infrastructure Event','No Aplica'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(wildmatch(Submitter,'NAE*')&amp;gt;0 and isnull([PrimeraIntervencionHumana])=0,[PrimeraIntervencionHumana]-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if([Service Type]='Infrastructure Restoration' and (Submitter='AOR_USER' or Submitter='UserAppPdg'),PrimeraIntervencionHumana-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;// ,if(([Assigned Group]='NOC Monitoreo CORE' or [Assigned Group]='NOC Monitoreo TX')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;// and [Service Type]='Infrastructure Restoration' and wildmatch(Submitter,'NAE*')&amp;gt;0, //&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;[PrimeraIntervencionHumana]-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo) and (Submitter='AOR_USER' or Submitter='UserAppPdg'),PrimeraIntervencionHumana-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo)=0 and (Submitter='AOR_USER' or Submitter='UserAppPdg'),PrimeraNoMonitoreo-[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,'No Aplica'))))) as TTTN_new,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(([Assigned Group]='NOC Monitoreo CORE' or [Assigned Group]='NOC Monitoreo TX') &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;and [Service Type]='Infrastructure Event' and IsNull(PrimeraIntervencionHumana)=0,'Sin hora de Notificacion'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo)=0 and (Submitter='AOR_USER' or Submitter='UserAppPdg')&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,PrimeraNoMonitoreo&amp;amp;'-'&amp;amp;[Submit Date]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,PrimeraIntervencionHumana&amp;amp;'-'&amp;amp;[Submit Date])) as TTTN_new_texto,&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;if(PrimeraNoMonitoreo&amp;gt;SegundaNoMonitoreo,'SegundaNoMonitoreo-[Submit Date]'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;,if(isnull(PrimeraNoMonitoreo),'SegundaNoMonitoreo-[Submit Date]','PrimeraNoMonitoreo-[Submit Date]')) as T_TTN_formula, &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-code-condition-explanation/m-p/1661824#M49702</guid>
      <dc:creator>davemontoya</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: IF code condition explanation</title>
      <link>https://community.qlik.com/t5/App-Development/IF-code-condition-explanation/m-p/1661825#M49703</link>
      <description>&lt;P&gt;It's a nested if&amp;nbsp;&lt;/P&gt;&lt;P&gt;The else is another if, evaluates in order&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 20:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-code-condition-explanation/m-p/1661825#M49703</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2019-12-31T20:56:39Z</dc:date>
    </item>
  </channel>
</rss>

