<?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: same date and key with different data for in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175127#M381521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one reply me to my query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jul 2016 16:37:30 GMT</pubDate>
    <dc:creator>manoranjan_d</dc:creator>
    <dc:date>2016-07-05T16:37:30Z</dc:date>
    <item>
      <title>same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175126#M381520</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;when i try to create flag for the max date its not creating for the situation of same multiple date and same key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i ksolve this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="490"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="153"&gt;KEY&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="88"&gt;DATE&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="72"&gt;AMT&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="144"&gt;YEAR_FLAG&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="33"&gt;Year&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;key1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;06012016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;key1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;06012016&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 11:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175126#M381520</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-07-05T11:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175127#M381521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one reply me to my query&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175127#M381521</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-07-05T16:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175128#M381522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Post your expression you are trying to create the Flag with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also you need to reformat your date field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 16:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175128#M381522</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-07-05T16:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175129#M381523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;How are you trying to create the flag?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please elaborate more in order to be more helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 17:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175129#M381523</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-07-05T17:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175130#M381524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FACT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KEY,&lt;/P&gt;&lt;P&gt;DATE,&lt;/P&gt;&lt;P&gt;AMT&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;XXXX;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YEAR:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(KEY,-DATE) as KEY,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(Max(DATE),'YYYY') as&amp;nbsp; YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Y' as YEAR_FLAG&lt;/P&gt;&lt;P&gt;Resident FACT&lt;/P&gt;&lt;P&gt;Group By KEY&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the chart if i use the expression as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression 1:&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Year)&amp;gt;=1,sum({&amp;lt; YEAR_FLAG={'Y'}&amp;gt;}AMT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expresion2:&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(Year)&amp;gt;=1,count({&amp;lt; YEAR_FLAG={'Y'}&amp;gt;}KEY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 04:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175130#M381524</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-07-06T04:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175131#M381525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one reply me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 04:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175131#M381525</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2016-07-07T04:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175132#M381526</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;what is your expected output??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 05:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175132#M381526</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-07-07T05:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: same date and key with different data for</title>
      <link>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175133#M381527</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;Are you looking for below output&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/130409_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;There might be multiple solution one of it below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key, Date, Amt , Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key1, 06012016, 100, 2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key1, 06012016, 200, 2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key2, 06022016, 200, 2016&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Load Key as Key,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date as Date,&lt;/P&gt;&lt;P&gt;max(Amt) as Amt,&lt;/P&gt;&lt;P&gt;Year as Year,&lt;/P&gt;&lt;P&gt;'maxFlag' as Flag&lt;/P&gt;&lt;P&gt;Resident Test&lt;/P&gt;&lt;P&gt;group by Key,Date,Year;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 05:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/same-date-and-key-with-different-data-for/m-p/1175133#M381527</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-07-07T05:23:51Z</dc:date>
    </item>
  </channel>
</rss>

