<?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: Compare dates in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773927#M472433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi flipside,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that works...it was just too easy to find the right way. Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2015 15:30:06 GMT</pubDate>
    <dc:creator>catunoho</dc:creator>
    <dc:date>2015-01-12T15:30:06Z</dc:date>
    <item>
      <title>Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773921#M472427</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;have a problem with a chart where I want to show turnover by date (Year) relating to the Year when first turnover has been created. My chart should show for 2014 total turnover for all parts with first turnover in 2014, same for 2013...&lt;/P&gt;&lt;P&gt;I have created a calendar for the turnover date and selected the min turnover date to find out when the first turnover happened. Both dated are formatted to YEAR.&lt;/P&gt;&lt;P&gt;In the chart I use the following Set Analysis function but do not get any result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;FirstTO_Year={"$(=Year)"}&amp;gt;}(Value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:39:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773921#M472427</guid>
      <dc:creator>catunoho</dc:creator>
      <dc:date>2015-01-12T12:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773922#M472428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Stepan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Variable which stores a value of the MinYear &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMinYear=Min(Year field)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; FirstTO_Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;FirstTO_Year={"$(=vMinYear)"}&amp;gt;}(Value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773922#M472428</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2015-01-12T12:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773923#M472429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mukram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your response. Don't I get only one Year as First turnover Year if I put that into a variable ? The first turnover Year could be every Year between 2001 and 2014 and I want to see only turnover in the chart for each year that had the first turnover in the same year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773923#M472429</guid>
      <dc:creator>catunoho</dc:creator>
      <dc:date>2015-01-12T12:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773924#M472430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you attach the sample file so that we can help you in a better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773924#M472430</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2015-01-12T13:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773925#M472431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be able to use the method suggested by Mukram is a slightly different way to get your result.&lt;/P&gt;&lt;P&gt;You could try creating a key and then using the group by function in order to get the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333339691162px;"&gt;FirstTO_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: 13.3333339691162px;"&gt;Essentially just add:&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: 13.3333339691162px;"&gt;Field1+Field2+Field3+Field4...... as KEY&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: 13.3333339691162px;"&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: 13.3333339691162px;"&gt;then just create a new table&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: 13.3333339691162px;"&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: 13.3333339691162px;"&gt;Min(Year Field) as FirstTO_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: 13.3333339691162px;"&gt;KEY&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: 13.3333339691162px;"&gt;Resident NormalTable&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: 13.3333339691162px;"&gt;Group By KEY;&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: 13.3333339691162px;"&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: 13.3333339691162px;"&gt;This will then give you the first TO year for each key, so basically you just need to create a key from all the fields you want to differentiate the turnover by. Sorry if this isn't what you are after, I can't open any QVWs for today.&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: 13.3333339691162px;"&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: 13.3333339691162px;"&gt;Cheers,&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: 13.3333339691162px;"&gt;Tyler&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 14:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773925#M472431</guid>
      <dc:creator />
      <dc:date>2015-01-12T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773926#M472432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this works ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FirstTO_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Turnover_Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:01:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773926#M472432</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2015-01-12T15:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Compare dates in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773927#M472433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi flipside,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that works...it was just too easy to find the right way. Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 15:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-dates-in-Set-Analysis/m-p/773927#M472433</guid>
      <dc:creator>catunoho</dc:creator>
      <dc:date>2015-01-12T15:30:06Z</dc:date>
    </item>
  </channel>
</rss>

