<?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: Flagging nulls while in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039366#M637431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you may be create a flag in the script like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(RateVale)) = 0, 'Yes',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(RateVale, 'A', 'B'), 'Yes', 'No')) as Picked&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Len(Trim(RateVale)) = 0, 'Yes' or &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; line-height: 1.5em;"&gt;Match(RateVale, 'A', 'B'), 'Yes', 'No') as Picked&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;or&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Match(RateVale, 'D'), 'No', 'Yes') as Picked&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2016 14:24:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-28T14:24:30Z</dc:date>
    <item>
      <title>Flagging null or counting nulls for calculated dim</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039365#M637430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm creating a calculated dimension in the script editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let say I have a field called RateVale with the values A,B,C,D,null()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a calculated field called Picked with 2 values in it Yes and NO based on the following condions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if RateVale =A,B or Null() then Picked is Yes else 'NO'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm tryinng something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(match (RateVal,'','',null()),'Yes','No') as Picked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will the above code work?I'm not sure if it will pcik nulls,should I use len(trim(Ratevale)) instead of&amp;nbsp; 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;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 14:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039365#M637430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-28T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging nulls while</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039366#M637431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you may be create a flag in the script like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(RateVale)) = 0, 'Yes',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(RateVale, 'A', 'B'), 'Yes', 'No')) as Picked&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Len(Trim(RateVale)) = 0, 'Yes' or &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; line-height: 1.5em;"&gt;Match(RateVale, 'A', 'B'), 'Yes', 'No') as Picked&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;or&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;If(Match(RateVale, 'D'), 'No', 'Yes') as Picked&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 14:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039366#M637431</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-28T14:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging nulls while</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039367#M637432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if ( match( RateValue ,'A','B') or IsNull(RateValue) ,'Yes' , 'No') as Picked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 14:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039367#M637432</guid>
      <dc:creator>pooja_sn</dc:creator>
      <dc:date>2016-04-28T14:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Flagging null or counting nulls for calculated dim</title>
      <link>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039368#M637433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 14:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flagging-null-or-counting-nulls-for-calculated-dim/m-p/1039368#M637433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-28T14:29:53Z</dc:date>
    </item>
  </channel>
</rss>

