<?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 alt fun? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867812#M1015597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am fully confused with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one explain me with simple examples and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in how many ways we will use alt function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 15:04:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-07T15:04:32Z</dc:date>
    <item>
      <title>alt fun?</title>
      <link>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867812#M1015597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am fully confused with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one explain me with simple examples and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in how many ways we will use alt function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 15:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867812#M1015597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T15:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: alt fun?</title>
      <link>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867813#M1015598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alt( case1 [ , case2 , case3 , ...] , otherwise )&lt;/P&gt;&lt;P&gt;The alt function returns the first of the parameters that has a valid&lt;/P&gt;&lt;P&gt;number representation. If no such match is found, the last parameter&lt;/P&gt;&lt;P&gt;will be returned. Any number of parameters can be used.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;alt( date#( dat,'YYYY/MM/DD' ),&lt;/P&gt;&lt;P&gt;date#( dat,'MM/DD/YYYY' ),&lt;/P&gt;&lt;P&gt;date#( dat,'MM/DD/YY' ),&lt;/P&gt;&lt;P&gt;'No valid date' )&lt;/P&gt;&lt;P&gt;will test if the variable dat contains a date according to any of the&lt;/P&gt;&lt;P&gt;three specified date formats. If so, it will return the original string&lt;/P&gt;&lt;P&gt;and a valid number representation of a date. If no match is found,&lt;/P&gt;&lt;P&gt;the text 'No valid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 15:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867813#M1015598</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-07T15:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: alt fun?</title>
      <link>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867814#M1015599</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;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Alt('ABC',12,13,'jkl')&lt;/P&gt;&lt;P&gt;Here it will return &lt;STRONG&gt;12, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alt() function returns first numeric value.... If you don't have any numeric value, &lt;/P&gt;&lt;P&gt;it will return last parameter (Means last string)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Alt('ABC', 'KL', 'NM', 'Comm')&lt;/P&gt;&lt;P&gt;returns &lt;STRONG&gt;Comm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, we don't have any numeric value, that's why return last parameter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 06:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867814#M1015599</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2015-10-04T06:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: alt fun?</title>
      <link>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867815#M1015600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the critical use is, when you are not sure your expression may or may not result NULL value, and you want to avoid null and consider 0 for such unavoidable cases. So we use Alt(&amp;lt;expression&amp;gt;,0). In normal cases expression results numeric value and that will be the output of alt function but due to any unavoidable reasons(like divide by zero etc) if expression results null then 0 will be the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 07:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867815#M1015600</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2015-10-04T07:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: alt fun?</title>
      <link>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867816#M1015601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hi,&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #222222; background-position: initial;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Alt(case1[ , case2 , case3 , ...] , else)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #222222;"&gt;&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;The alt function returns the first of the parameters that has a valid number representation. If no such match is found, the last parameter will be returned. Any number of parameters can be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Example:&lt;BR /&gt;alt( date#( dat , 'YYYY/MM/DD' ),&lt;BR /&gt;date#( dat , 'MM/DD/YYYY' ),&lt;BR /&gt;date#( dat , 'MM/DD/YY' ),&lt;BR /&gt;'No valid date' )&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;Will test if the field date contains a date according to any of the three specified date formats. If so, it will return the original string and a valid number representation of a date. If no match is found, the text 'No valid date' will be returned (without any valid number representation).&lt;/SPAN&gt;&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="font-weight: inherit; font-style: inherit; font-family: inherit; color: #222222; background-position: initial;"&gt;&lt;BR /&gt;&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="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #222222; background-position: initial;"&gt;please check below post:&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="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #222222; background-position: initial;"&gt;&lt;BR /&gt;&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="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #222222; background-position: initial;"&gt;&lt;A _jive_internal="true" data-containerid="2003" data-containertype="14" data-objectid="732134" data-objecttype="2" href="https://community.qlik.com/message/732134#732134" style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #3778c7;"&gt;Re: Alt function&lt;/A&gt;&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="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #222222; background-position: initial;"&gt;&lt;A _jive_internal="true" data-containerid="2588" data-containertype="37" data-objectid="3713" data-objecttype="38" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/04/25/which-conditional-functions-do-you-use" style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #3778c7;"&gt;Which conditional functions do you use?&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 07:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/alt-fun/m-p/867816#M1015601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-04T07:28:58Z</dc:date>
    </item>
  </channel>
</rss>

