<?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: Alt Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162194#M889457</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 class="syntax"&gt;&lt;A name="kanchor409"&gt;&lt;/A&gt;&lt;A name="alt"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;alt(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;case1[ , case2 , case3 , ...] , else&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;alt&lt;/SPAN&gt; 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;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;alt( date#( dat , 'YYYY/MM/DD' ),&lt;/P&gt;&lt;P class="Code"&gt;date#( dat , 'MM/DD/YYYY' ),&lt;/P&gt;&lt;P class="Code"&gt;date#( dat , 'MM/DD/YY' ),&lt;/P&gt;&lt;P class="Code"&gt;'No valid date' )&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2016 06:24:32 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2016-08-24T06:24:32Z</dc:date>
    <item>
      <title>Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162193#M889456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying alt function in qvw application. But it is not working &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me one example of alt function in qvw application.&lt;/P&gt;&lt;P&gt;with practically .&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/Alt-Function/m-p/1162193#M889456</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162194#M889457</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 class="syntax"&gt;&lt;A name="kanchor409"&gt;&lt;/A&gt;&lt;A name="alt"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;alt(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;case1[ , case2 , case3 , ...] , else&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;alt&lt;/SPAN&gt; 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;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;alt( date#( dat , 'YYYY/MM/DD' ),&lt;/P&gt;&lt;P class="Code"&gt;date#( dat , 'MM/DD/YYYY' ),&lt;/P&gt;&lt;P class="Code"&gt;date#( dat , 'MM/DD/YY' ),&lt;/P&gt;&lt;P class="Code"&gt;'No valid date' )&lt;/P&gt;&lt;P&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 06:24:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162194#M889457</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-24T06:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162195#M889458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this threads will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-12605"&gt;Alt (Conditional) Function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/156127"&gt;Alt function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 06:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162195#M889458</guid>
      <dc:creator>bindu_apte</dc:creator>
      <dc:date>2016-08-24T06:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162196#M889459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, alt function is often used for checking NULL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alt(a,b)&amp;nbsp; AS Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If 'a' is NULL then Field 'b' will be selected or it will go for 'a' &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>Wed, 24 Aug 2016 06:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162196#M889459</guid>
      <dc:creator>thakkarrahul01</dc:creator>
      <dc:date>2016-08-24T06:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162197#M889460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks For gave Replay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry,&amp;nbsp; I need Example Based on Different Format Dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 07:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162197#M889460</guid>
      <dc:creator>maniram23</dc:creator>
      <dc:date>2016-08-24T07:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162198#M889461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this threads &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/156127"&gt;Alt function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/61771"&gt;Show date  from date field with different date formats&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/62064"&gt;Date field contains values in different formats ?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 08:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162198#M889461</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-08-24T08:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162199#M889462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Try below example&lt;/P&gt;&lt;P&gt;[test]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Maand, ID, Date&lt;/P&gt;&lt;P&gt;1, 2, 02/12/14&lt;/P&gt;&lt;P&gt;2, 3,03/01/15&lt;/P&gt;&lt;P&gt;3,4,jan/15,&lt;/P&gt;&lt;P&gt;4,5,2016-jan-02&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;alt( date#( Date , 'YY-DD-MM' ),&lt;/P&gt;&lt;P&gt;date#( Date , 'YYYDDMM' ),&lt;/P&gt;&lt;P&gt;date#( Date , 'DD/YYY' ),&lt;/P&gt;&lt;P&gt;'No valid date' )&amp;nbsp; as altDate&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp; [test];&lt;/P&gt;&lt;P&gt;&lt;IMG alt="alt.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/135390_alt.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 09:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/1162199#M889462</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-24T09:16:19Z</dc:date>
    </item>
  </channel>
</rss>

