<?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: Problem with multiple ifs + count statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162635#M378868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use subfield(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;[Problem Owner],',') &lt;SPAN style="font-size: 13.3333px;"&gt;in the script, it may create new record for second name, try if that can be used over here with context to your script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 11:53:47 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2016-06-09T11:53:47Z</dc:date>
    <item>
      <title>Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162633#M378866</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;I am required to count the number of tickets assigned to a particular Problem Owner.&lt;/P&gt;&lt;P&gt;Field Problem has 2 names separated by a delimiter ', ' so the same ticket needs to be counted for both the users example - Problem Owner has values - CA Joseph, CA Enid. Then the same ticket needs to be counted for Joseph once and then for Enid once.&lt;/P&gt;&lt;P&gt;Since the users often assign a lot prefixes I am using wildmatch to identify the Problem Owners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Problem Owner]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*Joseph*'),'Joseph',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Problem Owner]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*Enid*'),'Enid', &lt;/SPAN&gt; as Owners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used multiple If statements so the problem that I am facing is that when the if condition is satisfied by Joseph then it jumps out of the loop and the ticket doesnt get counted for Enid even if both Joseph and Enid worked on the ticket. Hence the actual count for the tickets resolved for Enid will be lower wherever both Joseph and Enid may have worked upon it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an alternative to writing multiple ifs for this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 11:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162633#M378866</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162634#M378867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Subfield to create a link table btween your tickets and owner:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD TicketID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; SubField([Problem Owner],',') as Owners&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RESIDENT YourTicketTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 11:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162634#M378867</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-09T11:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162635#M378868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use subfield(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;[Problem Owner],',') &lt;SPAN style="font-size: 13.3333px;"&gt;in the script, it may create new record for second name, try if that can be used over here with context to your script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 11:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162635#M378868</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-09T11:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162636#M378869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already added subfield to it. But the problem is the multiple if statements. I need to count number of tickets for Joseph and Enid. It gives a correct match for Joseph as this is the first if statement but reduces the count for Enid.&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Problem Owner]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*Joseph*'),'Joseph',&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Problem Owner]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '*Enid*'),'Enid', &lt;/SPAN&gt; as Owners&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 11:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162636#M378869</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T11:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162637#M378870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My issue is how to get rid of the multiple if statements. I have already used subfield to break it out. but the if statement once satisfied for the first user reduces the count for the next user. Is there an alternative to using If statement??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 12:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162637#M378870</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T12:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162638#M378871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where have you applied the subfield() to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post your complete LOAD script or a small sample QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 12:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162638#M378871</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-09T12:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162639#M378872</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;You can use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(WildMatch([Problem Owner], '*Joseph*', '*Enid*'), 'Joseph', 'Enid') as Owners&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if you have both Joseph and Enid in the same [Problem Owner], Joseph stay your owner...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 13:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162639#M378872</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2016-06-09T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162640#M378873</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;Peraps :&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;Owners:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;[Problem Owner]&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; SubField([Problem Owner],',') as Owners&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RESIDENT YourTicketTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 13:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162640#M378873</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2016-06-09T13:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162641#M378874</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;I have applied it to Problem Owner Field. this is my script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Priority,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(Priority like '*High*', '1.High',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Priority like '1. CSS TR','IT Alerts',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2. Medium*','2.Medium',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.1*','2.1 Medium - Multiple Customer Impact',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.2*','2.2 Medium - Critical care Customer Impact',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.3*','2.3 Medium - Tier 1 Customer Impact',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.4*','2.4 Medium - Other Impact','3.Low'))))))) as TR_Priority,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(App like '*HEXABC*','CONNECT','HSBCNET') as Application,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TR #] as Ticket_Reference, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Resolved Date], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName([Resolved Date]) as Month_Resolved,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority &amp;lt;&amp;gt; '1. CSS TR' and [Resolved Date]&amp;gt;'', NetWorkDays([Date Raised],[Resolved Date])) as TR_BPS_Elapsed_Days,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority = '1. CSS TR' and [Resolved Date]&amp;gt;'',NetWorkDays([Date Raised],[Resolved Date])) as TR_IT_Alerts_Elapsed_Days,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(&amp;nbsp; [Problem Owner],',')as&amp;nbsp;&amp;nbsp; [Problem Owner],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*ENID*'),'Enid',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*Cloudy*'),'Cloudy',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*ZHENGHU*'),'Zhenghu',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*CHAI*'),'Andrew Chai',&lt;/P&gt;&lt;P&gt;if(WildMatch([Problem Owner], '*joseph*'),'Joseph'&amp;nbsp; ,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*kapil*'),'Kapil',&lt;/P&gt;&lt;P&gt;)))))) as Owners,&lt;/P&gt;&lt;P&gt;if(WildMatch([Problem Owner],'*CA*'),'Van') as [GLT Site]&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162641#M378874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-10T10:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162642#M378875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am counting the number of tickets as per Owner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162642#M378875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-10T10:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162643#M378876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this code will create duplicate lines of your ticket facts per owner, but it should already split your Problem Owner field appropriately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've suggested to use a link table instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tickets:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Priority,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; if(Priority like '*High*', '1.High',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Priority like '1. CSS TR','IT Alerts',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2. Medium*','2.Medium',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.1*','2.1 Medium - Multiple Customer Impact',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.2*','2.2 Medium - Critical care Customer Impact',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.3*','2.3 Medium - Tier 1 Customer Impact',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority like '*2.4*','2.4 Medium - Other Impact','3.Low'))))))) as TR_Priority,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(App like '*HEXABC*','CONNECT','HSBCNET') as Application,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TR #] as Ticket_Reference,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Resolved Date],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName([Resolved Date]) as Month_Resolved,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority &amp;lt;&amp;gt; '1. CSS TR' and [Resolved Date]&amp;gt;'', NetWorkDays([Date Raised],[Resolved Date])) as TR_BPS_Elapsed_Days,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Priority = '1. CSS TR' and [Resolved Date]&amp;gt;'',NetWorkDays([Date Raised],[Resolved Date])) as TR_IT_Alerts_Elapsed_Days,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp; [Problem Owner]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(&amp;nbsp; [Problem Owner],',')as&amp;nbsp;&amp;nbsp; [Problem Owner],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*ENID*'),'Enid',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*Cloudy*'),'Cloudy',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*ZHENGHU*'),'Zhenghu',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*CHAI*'),'Andrew Chai',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;if(WildMatch([Problem Owner], '*joseph*'),'Joseph'&amp;nbsp; , &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Problem Owner], '*kapil*'),'Kapil',&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;)))))) as Owners,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: line-through;"&gt;if(WildMatch([Problem Owner],'*CA*'),'Van') as [GLT Site]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;lt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD [Ticket_Reference],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield([Problem Owner],',') as Owners&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;RESIDENT Tickets;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:20:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162643#M378876</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-10T10:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162644#M378877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works but there is still one issue. I need to have clean names.. There are prefixes against the names.&lt;/P&gt;&lt;P&gt;Example - CA Joseph, CA Andrew, CA Kapil. I need to display only Joseph, Andrew, Kapil etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use purgechar it doesn't work fine.. Is there some way to fix it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162644#M378877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-10T10:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162645#M378878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not only prefixes but garbage suffixes in the names as well. How do i get rid of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162645#M378878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-10T10:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162646#M378879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are different approaches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the possible names and the requested outcome, you can use a MAPPING table approach:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4267"&gt;Data Cleansing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't know all names, but you know rules to transform input to output, you can make use of various string and match functions QV scripting offers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 10:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162646#M378879</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-10T10:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multiple ifs + count statement</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162647#M378880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. This helped and it worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-multiple-ifs-count-statement/m-p/1162647#M378880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-15T10:25:33Z</dc:date>
    </item>
  </channel>
</rss>

