<?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 Variable and Trigger Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-and-Trigger-Help/m-p/798721#M282041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like my dashboard to open based on the current &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt;- which spans the end of the month and the first 13 days of the next month( ie: Jan Close = Jan 28th - Feb 13th).&amp;nbsp; The issue is when the current month changes, the &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt; changes to equal the current month(Current Month=Feb &amp;amp; &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt;=Feb) when I need it to show( Current Month=Feb, &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt;=Jan).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up a Variable(&lt;EM&gt;vCurrentFM =Month(Today())&lt;/EM&gt;) and set the Sheet Trigger to SELECT IN FIELD, Field=[Close Month], Search String=$(vCurrentFM).&amp;nbsp; This works just fine when the &lt;STRONG&gt;CLOSE MONTH&lt;/STRONG&gt; and the Current Month are the same.&amp;nbsp; When the Current Month changes to FEB, the &lt;STRONG&gt;CLOSE MONTH&lt;/STRONG&gt; still needs to be Jan.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also go by Work Day(&lt;STRONG&gt;WD&lt;/STRONG&gt;) where the minus Work Days(-WD3) is the end of the current &lt;STRONG&gt;CLOSE MONT&lt;/STRONG&gt;H and the positive(WD1) is the next calendar month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I also have an Excel spreadsheet with dates in Column A, Work Day in Column B and Close Month in Column C.&amp;nbsp; I have loaded this spreadsheet into my dashboard, so the CLOSE CALENDAR table has fields = WD, Date, Related Close Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Excel format&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 421px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl72" height="20" style="height: 15.0pt; width: 156pt;" width="208"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="width: 76pt;" width="101"&gt;WD&lt;/TD&gt;&lt;TD class="xl64" style="width: 84pt;" width="112"&gt;Month&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl73" height="19" style="height: 14.25pt;"&gt;Wednesday, January 28, 2015&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;WD-3&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Thursday, January 29, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD-2&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Friday, January 30, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD-1&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl74" height="20" style="height: 15.0pt; border-top: none;"&gt;Sunday, February 01, 2015&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SUN&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Monday, February 02, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD1&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Tuesday, February 03, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD2&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Wednesday, February 04, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD3&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Thursday, February 05, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD4&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Friday, February 06, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD5&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Saturday, February 07, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD5(Weekend)&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Sunday, February 08, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD5(Weekend)&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Monday, February 09, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD6&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Tuesday, February 10, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD7&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Wednesday, February 11, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD8&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Thursday, February 12, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD9&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl76" height="20" style="height: 15.0pt; border-top: none;"&gt;Friday, February 13, 2015&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;"&gt;WD10&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a different Variable that I can use or can the Excel spreadsheet be used to check the current date and apply the Work Day and the related close month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table: Row&lt;/P&gt;&lt;P&gt;Field Names =&lt;/P&gt;&lt;P&gt;[CLOSE MONTH]&lt;/P&gt;&lt;P&gt;WD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table CloseCalendar:&lt;/P&gt;&lt;P&gt;Field Names=&lt;/P&gt;&lt;P&gt;WD&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;[Related Close Month]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76746_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 16:06:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-30T16:06:23Z</dc:date>
    <item>
      <title>Variable and Trigger Help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-and-Trigger-Help/m-p/798721#M282041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like my dashboard to open based on the current &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt;- which spans the end of the month and the first 13 days of the next month( ie: Jan Close = Jan 28th - Feb 13th).&amp;nbsp; The issue is when the current month changes, the &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt; changes to equal the current month(Current Month=Feb &amp;amp; &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt;=Feb) when I need it to show( Current Month=Feb, &lt;STRONG style="font-size: 13.3333330154419px;"&gt;CLOSE MONTH&lt;/STRONG&gt;=Jan).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up a Variable(&lt;EM&gt;vCurrentFM =Month(Today())&lt;/EM&gt;) and set the Sheet Trigger to SELECT IN FIELD, Field=[Close Month], Search String=$(vCurrentFM).&amp;nbsp; This works just fine when the &lt;STRONG&gt;CLOSE MONTH&lt;/STRONG&gt; and the Current Month are the same.&amp;nbsp; When the Current Month changes to FEB, the &lt;STRONG&gt;CLOSE MONTH&lt;/STRONG&gt; still needs to be Jan.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also go by Work Day(&lt;STRONG&gt;WD&lt;/STRONG&gt;) where the minus Work Days(-WD3) is the end of the current &lt;STRONG&gt;CLOSE MONT&lt;/STRONG&gt;H and the positive(WD1) is the next calendar month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I also have an Excel spreadsheet with dates in Column A, Work Day in Column B and Close Month in Column C.&amp;nbsp; I have loaded this spreadsheet into my dashboard, so the CLOSE CALENDAR table has fields = WD, Date, Related Close Month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Excel format&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 421px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl72" height="20" style="height: 15.0pt; width: 156pt;" width="208"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="width: 76pt;" width="101"&gt;WD&lt;/TD&gt;&lt;TD class="xl64" style="width: 84pt;" width="112"&gt;Month&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl73" height="19" style="height: 14.25pt;"&gt;Wednesday, January 28, 2015&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;WD-3&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Thursday, January 29, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD-2&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Friday, January 30, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD-1&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl74" height="20" style="height: 15.0pt; border-top: none;"&gt;Sunday, February 01, 2015&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;SUN&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Monday, February 02, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD1&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Tuesday, February 03, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD2&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Wednesday, February 04, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD3&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Thursday, February 05, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD4&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Friday, February 06, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD5&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Saturday, February 07, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD5(Weekend)&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Sunday, February 08, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD5(Weekend)&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Monday, February 09, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD6&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Tuesday, February 10, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD7&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl74" height="19" style="height: 14.25pt; border-top: none;"&gt;Wednesday, February 11, 2015&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WD8&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14.25pt;"&gt;&lt;TD class="xl75" height="19" style="height: 14.25pt; border-top: none;"&gt;Thursday, February 12, 2015&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;WD9&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="xl76" height="20" style="height: 15.0pt; border-top: none;"&gt;Friday, February 13, 2015&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;"&gt;WD10&lt;/TD&gt;&lt;TD class="xl78" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a different Variable that I can use or can the Excel spreadsheet be used to check the current date and apply the Work Day and the related close month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table: Row&lt;/P&gt;&lt;P&gt;Field Names =&lt;/P&gt;&lt;P&gt;[CLOSE MONTH]&lt;/P&gt;&lt;P&gt;WD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table CloseCalendar:&lt;/P&gt;&lt;P&gt;Field Names=&lt;/P&gt;&lt;P&gt;WD&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;[Related Close Month]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76746_pastedImage_6.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 16:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-and-Trigger-Help/m-p/798721#M282041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T16:06:23Z</dc:date>
    </item>
  </channel>
</rss>

