<?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 Expression with diffrent date fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368453#M834190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables with datafields.&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contractid&lt;/P&gt;&lt;P&gt;periodend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(periodend),'YYYY-MM') as PeriodEnd&lt;/P&gt;&lt;P&gt;serviceid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serviceid&lt;/P&gt;&lt;P&gt;readingdate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(readingdate),'YYYY-MM') as ReadingMonthYear&lt;/P&gt;&lt;P&gt;annualconsumption&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using a listbox with the field "PeriodEnd" to choose the months where contracts end, and then a straight chart&lt;/P&gt;&lt;P&gt;with the dimension "PeriodEnd" and then expressions to show diffrent contracts.&lt;/P&gt;&lt;P&gt;What Im trying to figure out is how to show the correct annualconsumption for the PeriodEnd, &lt;/P&gt;&lt;P&gt;For ex, if PeriodEnd is "2016-12" the correct reading date for the consumption is "2017-01".&lt;/P&gt;&lt;P&gt;If I change "ReadingMonthYear" to "PeriodEnd" it gives me the consumption for "2016-12", how can I solve this with an expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Expression with diffrent date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368453#M834190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables with datafields.&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;contractid&lt;/P&gt;&lt;P&gt;periodend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(periodend),'YYYY-MM') as PeriodEnd&lt;/P&gt;&lt;P&gt;serviceid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;serviceid&lt;/P&gt;&lt;P&gt;readingdate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(monthstart(readingdate),'YYYY-MM') as ReadingMonthYear&lt;/P&gt;&lt;P&gt;annualconsumption&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using a listbox with the field "PeriodEnd" to choose the months where contracts end, and then a straight chart&lt;/P&gt;&lt;P&gt;with the dimension "PeriodEnd" and then expressions to show diffrent contracts.&lt;/P&gt;&lt;P&gt;What Im trying to figure out is how to show the correct annualconsumption for the PeriodEnd, &lt;/P&gt;&lt;P&gt;For ex, if PeriodEnd is "2016-12" the correct reading date for the consumption is "2017-01".&lt;/P&gt;&lt;P&gt;If I change "ReadingMonthYear" to "PeriodEnd" it gives me the consumption for "2016-12", how can I solve this with an expression?&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/Expression-with-diffrent-date-fields/m-p/1368453#M834190</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with diffrent date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368454#M834191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henrik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can handle this using the set analysis, but it might be a little complex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share some sample data to test out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 18:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368454#M834191</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-05-31T18:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with diffrent date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368455#M834192</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;Will this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368455#M834192</guid>
      <dc:creator />
      <dc:date>2017-06-01T06:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with diffrent date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368456#M834193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may miss few points to read, can you explain little more. When i opened the Application it is showing 2016-12-01. What are you expecting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368456#M834193</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-06-01T06:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression with diffrent date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368457#M834194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im using a listbox with the field "PeriodEnd" to choose the months where contracts end, and then a straight chart&lt;/P&gt;&lt;P&gt;with the dimension "PeriodEnd" and then expressions to show diffrent contracts.&lt;/P&gt;&lt;P&gt;What Im trying to figure out is how to show the correct annualconsumption for the PeriodEnd, &lt;/P&gt;&lt;P&gt;For ex, if PeriodEnd is "2016-12" the correct reading date for the consumption is "2017-01-01".&lt;/P&gt;&lt;P&gt;If I change "ReadingMonthYear" to "PeriodEnd" it gives me the consumption for "2016-12-01".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-with-diffrent-date-fields/m-p/1368457#M834194</guid>
      <dc:creator />
      <dc:date>2017-06-01T07:20:59Z</dc:date>
    </item>
  </channel>
</rss>

