<?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 Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990679#M966924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is Alt Function ? where we have to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Oct 2015 18:12:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-03T18:12:52Z</dc:date>
    <item>
      <title>Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990679#M966924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is Alt Function ? where we have to use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 18:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990679#M966924</guid>
      <dc:creator />
      <dc:date>2015-10-03T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990680#M966925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find information about Alt function from Qlik Sense Help: &lt;A href="https://help.qlik.com/sense/2.0/en-US/online/#../Subsystems/Hub/Content/Scripting/ConditionalFunctions/alt.htm?Highlight=alt" title="https://help.qlik.com/sense/2.0/en-US/online/#../Subsystems/Hub/Content/Scripting/ConditionalFunctions/alt.htm?Highlight=alt"&gt;https://help.qlik.com/sense/2.0/en-US/online/#../Subsystems/Hub/Content/Scripting/ConditionalFunctions/alt.htm?Highlight…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Oct 2015 22:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990680#M966925</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-03T22:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990681#M966926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alt function will attempt to iron out variances in number formatting when you can't predict a uniformity in a data source or multiple data sources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I used this significantly for a recent app in that was collating flat files from a variety of topics | locations | formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What the alt function does is say "try this date|time|number format.&amp;nbsp; Did it evaluate to a number?&amp;nbsp; Nope.&amp;nbsp; Ok, try the next format.&amp;nbsp; Did that evaluate to a number?&amp;nbsp; Nope.&amp;nbsp; Ok, try the next format."&amp;nbsp;&amp;nbsp; And so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's say my log files turned out to store data in a variety of date formats.&amp;nbsp; What alt can help you test is a match for all different anticipated types:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_FIELD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MM/DD/YYYY'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_FIELD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'MM-DD-YYYY'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_FIELD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYYMMDD'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE_FIELD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYY-MM-DD')&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SO_HELP_ME_I_AM_SQUEEZING_A_DATE_OUT_OF_THIS_FIELD_IF_I_HAVE_TO_TEST_FOR_EVERY_PERMUTATION_EVER]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FROM LogFile.txt (txt);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Oct 2015 01:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990681#M966926</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2015-10-04T01:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990682#M966927</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;Have a look:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/650455"&gt;Re: Alt function question&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/748386"&gt;alt fun?&lt;/A&gt;&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 03:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990682#M966927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-04T03:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alt Function</title>
      <link>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990683#M966928</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;&lt;SPAN style="color: #222222; background: white;"&gt;&lt;STRONG&gt;Alt(case1[ , case2 , case3 , ...] , else)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&lt;BR /&gt; &lt;SPAN style="background: white;"&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="background: white;"&gt;&lt;EM&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="background: white;"&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&gt;&lt;SPAN style="color: #222222; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background: white; font-size: 13.3333330154419px;"&gt;please check below post:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background: white; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background: white; font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/message/732134"&gt;Re: Alt function&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background: white; font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3713"&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:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alt-Function/m-p/990683#M966928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-04T07:23:02Z</dc:date>
    </item>
  </channel>
</rss>

