<?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: Chart with Dimension of &amp;quot;Today&amp;quot;, &amp;quot;current month&amp;quot; and &amp;quot;current month of last year&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262398#M398061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached should work now. But I think there are simpler ways to do this kind of stuff. I will revisit this in the evening with a better solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 18:56:54 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-17T18:56:54Z</dc:date>
    <item>
      <title>Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262390#M398053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hi!, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to create a chart to display :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Expressions : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(Quantity) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM(Sales)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;One Dimension: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"Today", "Current Month" and "Current Month of Last Year".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I have a Date column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Example : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144076_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 19:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262390#M398053</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-16T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262391#M398054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use ValueList() function to create a synthetic dimension and then use Pick(Match()) to assign values using set analysis to the three different dimension or you can use an Island Table approach and again use Pick(Match()) to assign value to each of the three components of your dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 19:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262391#M398054</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-16T19:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262392#M398055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick answer, can you give me an example? because I tried but failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 19:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262392#M398055</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-16T19:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262393#M398056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144081_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 19:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262393#M398056</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-16T19:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262394#M398057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a flag for today in the below and your set expression will be a lot more simpler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16968"&gt;Period Presets: Compare Periods on the fly&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 19:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262394#M398057</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-11-16T19:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262395#M398058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!, I think this is the way to go, but can't make it work if I replace "Today" for max selected date on the calculated dimension, I recieve an "Error on calculated dimdension".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I replaced this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(Dim,&lt;/P&gt;&lt;P&gt;Date(Today(), 'DD-MM-YYYY'),&lt;/P&gt;&lt;P&gt;Date(MonthStart(Today()), 'MMM-YY'),&lt;/P&gt;&lt;P&gt;Date(MonthStart(Today(), -1), 'MMM-YY'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=Pick(Dim,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Date(MAX(Date), 'DD-MM-YYYY'),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Date(MonthStart(MAX(Date)), 'MMM-YY'),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Date(MonthStart(MAX(Date), -1), 'MMM-YY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 15:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262395#M398058</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-17T15:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262396#M398059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Try this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MAX(&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;TOTAL&lt;/SPAN&gt; Date), 'DD-MM-YYYY'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MonthStart(MAX(Date)), 'MMM-YY'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Date(MonthStart(MAX(Date), -1), 'MMM-YY'))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 15:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262396#M398059</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-17T15:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262397#M398060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again!; it's working, but don't know why, when the first date of the month is selected, it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 18:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262397#M398060</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-17T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262398#M398061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached should work now. But I think there are simpler ways to do this kind of stuff. I will revisit this in the evening with a better solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 18:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262398#M398061</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-17T18:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262399#M398062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Sunny, it's working on the example, but when I try to replicate on my application, doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will wait for your evening solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 19:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262399#M398062</guid>
      <dc:creator>Facundo</dc:creator>
      <dc:date>2016-11-17T19:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with Dimension of "Today", "current month" and "current month of last year"</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262400#M398063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Dual(Date(Date), Date*100),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Date(MonthYear, 'MMM-YY'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Only({1} Dim),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year, Month, Day, Date = {"$(=Date(Max(Date)))"}, MonthYear&amp;gt;}Sales),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year, Month, Day, Date, MonthYear = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(MonthYear), -1), 'MMM-YY') &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date)), 'MMM-YY'))"}&amp;gt;}Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here MonthYear is created in script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date(MakeDate(2016, 1, 1) + RecNo() - 1) as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Ceil(Rand() * 100) * 10 as Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 366;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calendar:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(Date,'MM/DD/YYYY') as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Year(Date)&amp;nbsp;&amp;nbsp;&amp;nbsp; as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Month(Date) as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Date(MonthStart(Date), 'MMM-YY') as MonthYear,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Num(Day(Date),'00') as Day&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144222_Capture.PNG" style="height: 226px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 02:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-Dimension-of-quot-Today-quot-quot-current-month-quot/m-p/1262400#M398063</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-18T02:46:35Z</dc:date>
    </item>
  </channel>
</rss>

