<?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: Go back 30 days from selection in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129707#M755898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jens for your explanation. Now I get it. It is working fine. &lt;/P&gt;&lt;P&gt;Thank you both!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2018 15:46:52 GMT</pubDate>
    <dc:creator>claudiamtz01</dc:creator>
    <dc:date>2018-10-05T15:46:52Z</dc:date>
    <item>
      <title>Go back 30 days from selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129702#M755893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Business_Day field. If the user selects one date, I need the prior 30 days from the selected date as a dimension on a graph.&lt;/P&gt;&lt;P&gt;For example, if I select 10/01/2018&lt;/P&gt;&lt;P&gt;&lt;IMG alt="29.PNG" class="jive-image image-1" height="162" src="https://community.qlik.com/legacyfs/online/214945_29.PNG" style="height: 162px; width: 84.5455px;" width="85" /&gt;&lt;/P&gt;&lt;P&gt;I would expect to see on my graph the dates between 09/01/2018 and 10/01/2018. Something like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="30.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/214946_30.PNG" style="height: 166px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it as a calculated dimension on my graph. Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129702#M755893</guid>
      <dc:creator>claudiamtz01</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Go back 30 days from selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129703#M755894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date((Max(Date)-30))) &amp;lt;=$(=Date(Max(Date))) "&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} YourField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 19:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129703#M755894</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-10-03T19:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Go back 30 days from selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129704#M755895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I add that expression as a dimension I get an 'Error in Calculated Dimension' on my graph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 19:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129704#M755895</guid>
      <dc:creator>claudiamtz01</dc:creator>
      <dc:date>2018-10-03T19:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Go back 30 days from selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129705#M755896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you share a sample it will be easy to take a look...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 18:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129705#M755896</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-10-04T18:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Go back 30 days from selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129706#M755897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add Business_Day as a dimension, don't use a calculated dimension. Then use Thirumala's expression as an expression, and replace the Date in both Max(Date) functions with your date field (Business_Day) (ONLY the 'Date' in the Max function, the other ones are functions). Next replace 'YourField' with the field you want summed in your chart. You can replace Sum with Count or whatever if necessary. If your expression is more complex than a simple sum or count, you'll have to post it and we'll see if we can help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 08:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129706#M755897</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-05T08:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Go back 30 days from selection in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129707#M755898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jens for your explanation. Now I get it. It is working fine. &lt;/P&gt;&lt;P&gt;Thank you both!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 15:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Go-back-30-days-from-selection-in-expression/m-p/129707#M755898</guid>
      <dc:creator>claudiamtz01</dc:creator>
      <dc:date>2018-10-05T15:46:52Z</dc:date>
    </item>
  </channel>
</rss>

