<?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 Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199685#M502887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Great! Yes, that is what I was looking for.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Mar 2010 20:24:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-31T20:24:14Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199683#M502884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I am in the process of creating a calculated dimension and stuck with the expression to create the calculated dimension.&lt;/P&gt;&lt;P&gt;I have a variable called 'SelectedDate' and that contains the date a user selects out of a slider/calendar object.&lt;/P&gt;&lt;P&gt;I like the X-scale which is the dimension to display only 30 days back from the selected date. So for instance the user selects March 30, 2010 the chart build upon that dimension shows basically the month of March. If the 15th of March is slelected than it goes from 15th of Feb to 15th of March etc.&lt;/P&gt;&lt;P&gt;Is there a QV function to define a dynamic daterange like this?&lt;/P&gt;&lt;P&gt;How does this expression look like? Examples?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 17:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199683#M502884</guid>
      <dc:creator />
      <dc:date>2010-03-31T17:44:22Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199684#M502886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(YourDate&amp;lt;=SelectedDate and YourDate&amp;gt;SelectedDate - 30,YourDate)&lt;/P&gt;&lt;P&gt;Or if you really want a month instead of always 30 days:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(YourDate&amp;lt;=SelectedDate and YourDate&amp;gt;addmonths(SelectedDate,-1),YourDate)&lt;/P&gt;&lt;P&gt;Then checkmark "Suppress When Value Is Null" for that dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 18:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199684#M502886</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-03-31T18:00:44Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199685#M502887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Great! Yes, that is what I was looking for.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 20:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/199685#M502887</guid>
      <dc:creator />
      <dc:date>2010-03-31T20:24:14Z</dc:date>
    </item>
  </channel>
</rss>

