<?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: Can someone help me to do the script for the query below?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540443#M684315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Alt() function is the best solution to your problem as it replaces any null values with the field in your first argument with your specified second argument.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 05:53:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-21T05:53:30Z</dc:date>
    <item>
      <title>Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540440#M684312</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;Can someone help me to script the query below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 fields to use for this script.&lt;/P&gt;&lt;P&gt;1. Document Number&lt;/P&gt;&lt;P&gt;2. Approved Date&lt;/P&gt;&lt;P&gt;3. Release Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Query: I wanted to get the month created (this could be approved date or release date). The problem is some of the rows of approved date are blanks. I wanted to get the released date insted for those blanks in approved date. How to do this script? Im not sure if if else statement would be fit for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 05:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540440#M684312</guid>
      <dc:creator />
      <dc:date>2014-01-21T05:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540441#M684313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Document Number],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(not isnull([Approved Date]), Month([Approved Date]), Month([Release Date])) as [Release Month]&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 05:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540441#M684313</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-01-21T05:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540442#M684314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DocumentNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(If(Len(ApprovedDate) &amp;gt; 0, ApprovedDate, ReleaseDate)) AS Month&lt;/P&gt;&lt;P&gt;//&amp;nbsp; if it is really date field, try&amp;nbsp; Month(Alt(ApprovedDate, ReleaseDate)) AS Month&lt;/P&gt;&lt;P&gt;FROM DataSource&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 05:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540442#M684314</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-01-21T05:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540443#M684315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Alt() function is the best solution to your problem as it replaces any null values with the field in your first argument with your specified second argument.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 05:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540443#M684315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-21T05:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540444#M684316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [Document Number] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month( ALT(Release_date,Approved_date)) AS Released_Month&lt;/P&gt;&lt;P&gt;FROM ,,,,;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 14:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540444#M684316</guid>
      <dc:creator />
      <dc:date>2014-01-21T14:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540445#M684317</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;It worked! Helped a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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, 22 Jan 2014 00:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540445#M684317</guid>
      <dc:creator />
      <dc:date>2014-01-22T00:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540446#M684318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this script. It helped too &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, 22 Jan 2014 00:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540446#M684318</guid>
      <dc:creator />
      <dc:date>2014-01-22T00:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540447#M684319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, is used Alt and worked. Thanks! &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, 22 Jan 2014 00:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540447#M684319</guid>
      <dc:creator />
      <dc:date>2014-01-22T00:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me to do the script for the query below??</title>
      <link>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540448#M684320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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, 22 Jan 2014 00:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-someone-help-me-to-do-the-script-for-the-query-below/m-p/540448#M684320</guid>
      <dc:creator />
      <dc:date>2014-01-22T00:52:01Z</dc:date>
    </item>
  </channel>
</rss>

