<?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 Default selection while reloading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Default-selection-while-reloading/m-p/207903#M1208620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm doing a very complex report in QlikView and due to the big complexity, we have outsourced some formulas into an Excel file. While reloading data, the Excel sheet is read and via a For..Next loop inserted into variables that are used by this construction:&lt;/P&gt;&lt;P&gt;pick(RowNumber, $(var1), $(var2), $(var3), ... $(varN))&lt;/P&gt;&lt;P&gt;Shortly, we are building a static report (yes, I know, QV is not made to do this) that cannot reduce the rows in the report, only ajust the sums accoding to selections.&lt;/P&gt;&lt;P&gt;Now, the problem is, that because of the demands of having BeginDate and EndDate as separate calendar boxes, I want to refer to the value in the calendar boxes. Since the reload happens before anyone can select anything in the calendars, the script fails because of this.&lt;/P&gt;&lt;P&gt;One of the rows from the Excel:&lt;/P&gt;&lt;P&gt;Column A: row9&lt;BR /&gt;Column B: sum({&amp;lt;AccountNumber={'5000'},FundingCode={'10','20','30','50','60','70','80','90'}, Date={"&amp;gt;= $(=StartDate) &amp;lt;=$(=EndDate)"}&amp;gt;} (Money/1000))&lt;/P&gt;&lt;P&gt;Since StartDate and EndDate are not selected and thus a value cannot be applied on the selection, the formula fails.&lt;/P&gt;&lt;P&gt;Is there a way to work around this? Can a default value be inserted into StartDate and EndDate?&lt;/P&gt;&lt;P&gt;Greeting,&lt;BR /&gt;Sören Hakola&lt;BR /&gt;Finland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2010 15:56:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-07T15:56:50Z</dc:date>
    <item>
      <title>Default selection while reloading</title>
      <link>https://community.qlik.com/t5/QlikView/Default-selection-while-reloading/m-p/207903#M1208620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm doing a very complex report in QlikView and due to the big complexity, we have outsourced some formulas into an Excel file. While reloading data, the Excel sheet is read and via a For..Next loop inserted into variables that are used by this construction:&lt;/P&gt;&lt;P&gt;pick(RowNumber, $(var1), $(var2), $(var3), ... $(varN))&lt;/P&gt;&lt;P&gt;Shortly, we are building a static report (yes, I know, QV is not made to do this) that cannot reduce the rows in the report, only ajust the sums accoding to selections.&lt;/P&gt;&lt;P&gt;Now, the problem is, that because of the demands of having BeginDate and EndDate as separate calendar boxes, I want to refer to the value in the calendar boxes. Since the reload happens before anyone can select anything in the calendars, the script fails because of this.&lt;/P&gt;&lt;P&gt;One of the rows from the Excel:&lt;/P&gt;&lt;P&gt;Column A: row9&lt;BR /&gt;Column B: sum({&amp;lt;AccountNumber={'5000'},FundingCode={'10','20','30','50','60','70','80','90'}, Date={"&amp;gt;= $(=StartDate) &amp;lt;=$(=EndDate)"}&amp;gt;} (Money/1000))&lt;/P&gt;&lt;P&gt;Since StartDate and EndDate are not selected and thus a value cannot be applied on the selection, the formula fails.&lt;/P&gt;&lt;P&gt;Is there a way to work around this? Can a default value be inserted into StartDate and EndDate?&lt;/P&gt;&lt;P&gt;Greeting,&lt;BR /&gt;Sören Hakola&lt;BR /&gt;Finland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 15:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Default-selection-while-reloading/m-p/207903#M1208620</guid>
      <dc:creator />
      <dc:date>2010-01-07T15:56:50Z</dc:date>
    </item>
  </channel>
</rss>

