<?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: How to get the Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551183#M205860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why your going for this kind of expression?&lt;/P&gt;&lt;P&gt;Sum(Revenue) will give you the Revenue for the YearMonth value in the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 09:37:45 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2013-08-30T09:37:45Z</dc:date>
    <item>
      <title>How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551179#M205856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearMonth , Revenue, Category&lt;/P&gt;&lt;P&gt;2013-1-1, 100,A&lt;/P&gt;&lt;P&gt;2013-2-1,200,B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use one pivot table to show the data, use YearMonth and Category as Dimension, and Sum(Revenue) as the Metric in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want it, I want to get the Current row's YearMonth in the Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take example, the first row is 2013-1-1 in Dimension, which function I can use to capture that the current YearMonth is 2013-1-1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551179#M205856</guid>
      <dc:creator />
      <dc:date>2013-08-30T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551180#M205857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can directly write : =YearMonth&amp;nbsp;&amp;nbsp; in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551180#M205857</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-30T09:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551181#M205858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But when I use this one, it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;YearMonth={'=$(=Only(YearMonth))'}&amp;gt;} Revenue)&amp;nbsp;&amp;nbsp;&amp;nbsp; YearMonth is the dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551181#M205858</guid>
      <dc:creator />
      <dc:date>2013-08-30T09:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551182#M205859</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;You can use YearMonth directly.&lt;/P&gt;&lt;P&gt;Also it depends on what expression your using Aggr or Sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain little bit more about the purpose of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551182#M205859</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-30T09:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551183#M205860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why your going for this kind of expression?&lt;/P&gt;&lt;P&gt;Sum(Revenue) will give you the Revenue for the YearMonth value in the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551183#M205860</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-30T09:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551184#M205861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because I want to re-write the YearMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If YearMonth =2013-3, I want to show the revenue 2013-2 and 2013-3, the latest 2 months revenue in&amp;nbsp; YearMonth 2013-3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551184#M205861</guid>
      <dc:creator />
      <dc:date>2013-08-30T09:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551185#M205862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need something like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(Revenue)+Alt(Above(Sum(Revenue)),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551185#M205862</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-30T09:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551186#M205863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we use the Set Analysis to achieve it by change the YearMonth?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 09:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551186#M205863</guid>
      <dc:creator />
      <dc:date>2013-08-30T09:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551187#M205864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No.Set analysis will work based on dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 10:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551187#M205864</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-08-30T10:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the Date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551188#M205865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;sum(if(YearMonth=Aggr(NODISTINCT only(YearMonth),Category),Revenue))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 10:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-the-Date/m-p/551188#M205865</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-08-30T10:17:59Z</dc:date>
    </item>
  </channel>
</rss>

