<?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 TimePeriods as Dimetions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194502#M55378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its all good...but the dimention should be dynamic and not static....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Sep 2009 17:14:39 GMT</pubDate>
    <dc:creator>xtrimf</dc:creator>
    <dc:date>2009-09-24T17:14:39Z</dc:date>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194496#M55372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my customer requires a report that in one column shows the sales from January till current month-1,&lt;/P&gt;&lt;P&gt;in the second column - the sales for the current month.&lt;/P&gt;&lt;P&gt;Class() is not working properly in this case...&lt;/P&gt;&lt;P&gt;I also managed to create a calculation that does "January-May" &amp;amp; "Jun" (as two columns, for example), but the numbers are wrong...&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Tnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 17:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194496#M55372</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2009-09-22T17:16:50Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194497#M55373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does your data look like?&lt;/P&gt;&lt;P&gt;If you have months as a dimension in your data, you could do something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Exp 1: Sum({&amp;lt;Month = {'&amp;gt;=1&amp;lt;$(=Month(Today()))'}&amp;gt;} Sales)&lt;BR /&gt;Exp 2: Sum({&amp;lt;Month = {'$(=Month(Today())'}&amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you have sales data and only have the sale date, I would suggest adding month in the load script. You could do something similar to the above using straight dates, but it's a bit more complicated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 21:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194497#M55373</guid>
      <dc:creator />
      <dc:date>2009-09-22T21:39:55Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194498#M55374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use expressions because I'm already using them as dimentions to populate the table.&lt;/P&gt;&lt;P&gt;I need a calculated dimention.&lt;/P&gt;&lt;P&gt;And Yes, I am using "Month".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2009 22:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194498#M55374</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2009-09-22T22:31:50Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194499#M55375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 13:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194499#M55375</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2009-09-23T13:53:11Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194500#M55376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached is an illustration of what i'm trying to achieve&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x228/__key/CommunityServer.Discussions.Components.Files/11/4667.untitled.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 15:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194500#M55376</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2009-09-23T15:26:27Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194501#M55377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calculated dimensions can be a little tricky. You can't seem to use Aggreagation functions inside, trying to calculate your date span in the calculated dimension is out.&lt;/P&gt;&lt;P&gt;I did a Resident Load on the data and pulled out the min and max of the span. Then I built a calculated dimension to either be the current month or anything else, which then displays the span. The calculated dimension is messy, due to trying to pull out the month names using the number. Essentially, it is:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;if(Month = Month(Today()), Month, SpanName)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I've attached a sample app that contains the resident load and the calculated dimension, along with a pivot table resembling your example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 01:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194501#M55377</guid>
      <dc:creator />
      <dc:date>2009-09-24T01:51:05Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194502#M55378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its all good...but the dimention should be dynamic and not static....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 17:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194502#M55378</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2009-09-24T17:14:39Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194503#M55379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it should be possible to solve it also by SET-functions, but am not that firm. You may determine your timespan by some variable, which then should be hidden somewhere is your application.&lt;/P&gt;&lt;P&gt;See the attached example&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 18:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194503#M55379</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-09-24T18:29:40Z</dc:date>
    </item>
    <item>
      <title>TimePeriods as Dimetions</title>
      <link>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194504#M55380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tnx &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works great...i did something similar but your is more accurate &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tnx again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2009 19:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TimePeriods-as-Dimetions/m-p/194504#M55380</guid>
      <dc:creator>xtrimf</dc:creator>
      <dc:date>2009-09-24T19:22:53Z</dc:date>
    </item>
  </channel>
</rss>

