<?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: How to remove nulls from only fuction in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243688#M863186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great. it works. Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2016 10:38:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-28T10:38:30Z</dc:date>
    <item>
      <title>How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243684#M863182</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 3 fields in my table id,count and flag. I am putting an expression only({&amp;lt;id={'1'}&amp;gt;}if(flag='e','1',if(flag='w','2','3'))) which will give me an output. similarly id=2 or 3 or 4 also give me the output. but when i use &lt;SPAN style="font-size: 13.3333px;"&gt;only({&amp;lt;id={'5'}&amp;gt;}if(flag='e','1',if(flag='w','2','3'))) it is not giving me the output. this is because when id=5 there is a null also with 'w'. in this case how can i remove null in the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my intention is, i need to get output as 1 when flag equals 'e'and output=2 when flag equals 'w' and output=3 when flag not equals to 'e' or 'w'(there can be combinations with null,in that case i want to ignore null).also i need the individual view of all id's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attaching the qvw file and source file for better understanding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sincerely&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/How-to-remove-nulls-from-only-fuction/m-p/1243684#M863182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243685#M863183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this: =only({&amp;lt;id={'5'}&lt;STRONG&gt;,flag={'*'}&lt;/STRONG&gt;&amp;gt;}if(flag='e','1',if(flag='w','2','3')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 10:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243685#M863183</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-28T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243686#M863184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks gysbert. it really helps.&lt;/P&gt;&lt;P&gt;Please help me with more thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my actual scenario if I am getting the combination with null i need to avoid null and the output should be either 1 or 2.(your expression stands good in this scenario). but when i am having only null and null combination then i need to get output as 3. is it really possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 10:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243686#M863184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-28T10:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243687#M863185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Perhaps something like this: =Alt(only({&amp;lt;id={'5'}&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,flag={'*'}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}if(flag='e','1',if(flag='w','2','3'))),3)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 10:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243687#M863185</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-28T10:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243688#M863186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great. it works. Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 10:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243688#M863186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-28T10:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243689#M863187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your time gysbert.&lt;/P&gt;&lt;P&gt;I have one more doubt. i hope the alt function will work only with numerics. but what if i want to display some words instead of 1,2, and 3. in this scenario if I am using alt function always it will return the last parameter right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 11:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243689#M863187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-28T11:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove nulls from only fuction</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243690#M863188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The alt function returns the last parameter as the result if the first parameter doesn't evaluate to a number. You can use a text string as the second parameter. But if you want to use string values everywhere then you need to use something else like if-statements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 11:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-nulls-from-only-fuction/m-p/1243690#M863188</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-28T11:23:28Z</dc:date>
    </item>
  </channel>
</rss>

