<?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: create a blank record in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368187#M30827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried MULTIPLE ways to do a little math on that number without success.&lt;/P&gt;&lt;P&gt;I finally gave up and solved it another way - &lt;/P&gt;&lt;P&gt;here is the script for my MonthSequence field:&lt;/P&gt;&lt;P&gt;,AutoNumber( year(TempDate)&amp;amp;month(TempDate)) as MonthSequence,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this by just creating another temp table with a different maxDate, running the above line again, and joining to the Master Calendar.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 21:44:16 GMT</pubDate>
    <dc:creator>jtay</dc:creator>
    <dc:date>2017-05-25T21:44:16Z</dc:date>
    <item>
      <title>create a blank record</title>
      <link>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368184#M30824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our Master Calendar projects dates into the next month. &lt;/P&gt;&lt;P&gt;We have a MonthSequence field that numbers each month.&amp;nbsp; &lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;April 2017 is 140&lt;/P&gt;&lt;P&gt;May 2017&amp;nbsp; is 141&lt;/P&gt;&lt;P&gt;June 2017 is 142.&lt;/P&gt;&lt;P&gt;I need to create a MonthSequence field that ignores next month (June 2017 or 142)&amp;nbsp; and either puts a null value in there or something less than our beginning MonthSequence number of 77&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this (and multiple iterations of it) but I keep getting an expression error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If((Max(MonthSequence) - (MonthSequence))=0,'', MonthSequence) as TrueMonSeq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on the middle of that if statement... or another way to do this?&lt;/P&gt;&lt;P&gt;thanks&lt;BR /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368184#M30824</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-05-04T16:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: create a blank record</title>
      <link>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368185#M30825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share some data and explain what the desired output based on the sample provided?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368185#M30825</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-04T16:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: create a blank record</title>
      <link>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368186#M30826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a field that mimics what is in the monthsequence field but does not contain data for next month.&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;April 1 2017 is 140,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;April 30, 2017 is 140&lt;/P&gt;&lt;P&gt;May 1, 2017 is 141&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;May 31, 2017 is 141&lt;/P&gt;&lt;P&gt;June 1 and beyond are either blank or less than 77&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368186#M30826</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-05-04T16:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: create a blank record</title>
      <link>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368187#M30827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried MULTIPLE ways to do a little math on that number without success.&lt;/P&gt;&lt;P&gt;I finally gave up and solved it another way - &lt;/P&gt;&lt;P&gt;here is the script for my MonthSequence field:&lt;/P&gt;&lt;P&gt;,AutoNumber( year(TempDate)&amp;amp;month(TempDate)) as MonthSequence,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this by just creating another temp table with a different maxDate, running the above line again, and joining to the Master Calendar.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 21:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/create-a-blank-record/m-p/1368187#M30827</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-05-25T21:44:16Z</dc:date>
    </item>
  </channel>
</rss>

