<?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 Creating a simple button using Week and Today() question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-simple-button-using-Week-and-Today-question/m-p/282045#M1201778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple question, just getting started.&lt;/P&gt;&lt;P&gt;I would like to create a button to assign the current week to the variable TxnWeek.&lt;/P&gt;&lt;P&gt;Below is how I LOAD the data, and the screen shot is how I imagine it to work.&lt;/P&gt;&lt;P&gt;I am having great difficulty in working with dates in this app. Am I doing something painfully simply wrong?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;LOAD @1 as Code,&lt;BR /&gt; @2 as Symbol,&lt;BR /&gt; @3 as Security,&lt;BR /&gt; @4 as TxnDate,&lt;BR /&gt; Year(@4) as TxnYear,&lt;BR /&gt; Month(@4) as TxnMonth,&lt;BR /&gt; Week(@4) as TxnWeek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2555_sourceID:2555" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Oct 2010 20:26:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-12T20:26:55Z</dc:date>
    <item>
      <title>Creating a simple button using Week and Today() question</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-simple-button-using-Week-and-Today-question/m-p/282045#M1201778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple question, just getting started.&lt;/P&gt;&lt;P&gt;I would like to create a button to assign the current week to the variable TxnWeek.&lt;/P&gt;&lt;P&gt;Below is how I LOAD the data, and the screen shot is how I imagine it to work.&lt;/P&gt;&lt;P&gt;I am having great difficulty in working with dates in this app. Am I doing something painfully simply wrong?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;-------------------------&lt;/P&gt;&lt;P&gt;LOAD @1 as Code,&lt;BR /&gt; @2 as Symbol,&lt;BR /&gt; @3 as Security,&lt;BR /&gt; @4 as TxnDate,&lt;BR /&gt; Year(@4) as TxnYear,&lt;BR /&gt; Month(@4) as TxnMonth,&lt;BR /&gt; Week(@4) as TxnWeek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-2555_sourceID:2555" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 20:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-simple-button-using-Week-and-Today-question/m-p/282045#M1201778</guid>
      <dc:creator />
      <dc:date>2010-10-12T20:26:55Z</dc:date>
    </item>
    <item>
      <title>Creating a simple button using Week and Today() question</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-simple-button-using-Week-and-Today-question/m-p/282046#M1201779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if you work on a problem for an hour, then take 2 minutes to post a question, you will solve the problem within the next 5 minutes.....&lt;/P&gt;&lt;P&gt;=Week(Today(1))&lt;/P&gt;&lt;P&gt;If the formula does not bold itself, it's not working!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 20:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-simple-button-using-Week-and-Today-question/m-p/282046#M1201779</guid>
      <dc:creator />
      <dc:date>2010-10-12T20:36:39Z</dc:date>
    </item>
  </channel>
</rss>

