<?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 Set Analysis to count max dates in a row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-count-max-dates-in-a-row/m-p/717610#M257913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve something with a set analysis but I cant get the right result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am trying to do, is count the max days (Fecha, fomat DD/MM/YYYY) in a row that a player (NomApellido) has played a Match of soccer.&lt;/P&gt;&lt;P&gt;We play every 7 days, so if Fecha - Previuos (Fecha) = 7, then is a consecutive match.&lt;/P&gt;&lt;P&gt;If Juega = 1, it&amp;nbsp; means the player have played the match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example attached, the correct result are in the chart&amp;nbsp; named "Test" where I use a calculated dimmension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart named "Analysis" is the set analysis that i try to do but it isnt working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ej: Fernando Herrero played 12 matches in a row, not 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result must be like the one in the chart "Analysis".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can solve this in the load script, but I want to do it with a set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone&lt;/P&gt;&lt;P&gt;PD : the information is order by date (Fecha)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Jul 2014 03:08:11 GMT</pubDate>
    <dc:creator>german_avanzato</dc:creator>
    <dc:date>2014-07-05T03:08:11Z</dc:date>
    <item>
      <title>Set Analysis to count max dates in a row</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-count-max-dates-in-a-row/m-p/717610#M257913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve something with a set analysis but I cant get the right result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am trying to do, is count the max days (Fecha, fomat DD/MM/YYYY) in a row that a player (NomApellido) has played a Match of soccer.&lt;/P&gt;&lt;P&gt;We play every 7 days, so if Fecha - Previuos (Fecha) = 7, then is a consecutive match.&lt;/P&gt;&lt;P&gt;If Juega = 1, it&amp;nbsp; means the player have played the match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example attached, the correct result are in the chart&amp;nbsp; named "Test" where I use a calculated dimmension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart named "Analysis" is the set analysis that i try to do but it isnt working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ej: Fernando Herrero played 12 matches in a row, not 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result must be like the one in the chart "Analysis".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can solve this in the load script, but I want to do it with a set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone&lt;/P&gt;&lt;P&gt;PD : the information is order by date (Fecha)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 03:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-count-max-dates-in-a-row/m-p/717610#M257913</guid>
      <dc:creator>german_avanzato</dc:creator>
      <dc:date>2014-07-05T03:08:11Z</dc:date>
    </item>
  </channel>
</rss>

