<?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: Dates in a variables - how to set a date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752572#M471334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="CaptureX axisStart point.JPG" class="image-1 jive-image" src="/legacyfs/online/81318_CaptureX axisStart point.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I would like X axis to start from the approx 01/01/2014 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 16:58:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-19T16:58:18Z</dc:date>
    <item>
      <title>Dates in a variables - how to set a date</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752570#M471332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have a set analysis in a variable which restricts the X Axis from showing all the Week Endings&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;i.e. &lt;EM&gt;vWKENDMAX&lt;/EM&gt; showing the last point on the x axis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[Week Ending]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)-21)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need the x axis to start at a specific point.&amp;nbsp; The activity in the graph start at specific point so for instance it would let me specify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vWKEND&lt;/EM&gt; as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=01/01/2014 in the variable.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but because I have a rolling date range in my loading script I want the start point on the X axis to start either on this date or if the rolling range passes this point I want it to&amp;nbsp; read something like this:&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(Min&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[Week Ending]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)+21)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;How would l write this please?&lt;/P&gt;&lt;P&gt;I tried an IF statement in my vWKEND but it didn't seem to work.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 16:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752570#M471332</guid>
      <dc:creator />
      <dc:date>2015-03-19T16:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in a variables - how to set a date</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752571#M471333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you are trying to accomplish. Would you be able to post some sample data with your expected output here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 16:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752571#M471333</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-19T16:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in a variables - how to set a date</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752572#M471334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="CaptureX axisStart point.JPG" class="image-1 jive-image" src="/legacyfs/online/81318_CaptureX axisStart point.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I would like X axis to start from the approx 01/01/2014 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 16:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752572#M471334</guid>
      <dc:creator />
      <dc:date>2015-03-19T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dates in a variables - how to set a date</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752573#M471335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to add set analysis into all of your expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;Date={"&amp;gt;01/04/2015"}&amp;gt;}&amp;nbsp; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once its working you can substitute the hardcoded date to a variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 17:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-a-variables-how-to-set-a-date/m-p/752573#M471335</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2015-03-19T17:11:11Z</dc:date>
    </item>
  </channel>
</rss>

