<?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: Select only sequences data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059427#M524255</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is really great stuff, thanks!&lt;/P&gt;&lt;P&gt;Understood use of $1 to filter to last selection as I could recall but couldn't figure out how Sum(1) expression is properly selecting in field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Mar 2016 12:34:20 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2016-03-13T12:34:20Z</dc:date>
    <item>
      <title>Select only sequences data</title>
      <link>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059424#M524252</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;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I do not know if it's possible but I want that user of my qlikview application is only be able to select the data continuously. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Imagine this example: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;The field represents the days of the month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I do not think that makes sense can select days that are not followed each other , as shown in the image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;IMG alt="erro1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117824_erro1.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;I want to ensure that he can only select the days sequentially , as in the following image:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;IMG alt="erro2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/117825_erro2.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Is there possible?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 10:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059424#M524252</guid>
      <dc:creator />
      <dc:date>2016-03-13T10:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Select only sequences data</title>
      <link>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059425#M524253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe using a field event OnSelect trigger (set in Settings - Document Properties - Triggers) with a Selection - Select in field action:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression for 'Field':&lt;/P&gt;&lt;P&gt;=If(Count(DISTINCT Day) &amp;lt;&amp;gt; (Max(Day)-Min(Day)+1), 'Day')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search expressions:&lt;/P&gt;&lt;P&gt;=Min(Day)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you select not a sequence of days, the selection reverts back to the min /start day selection (this could be changed of course to some other selection, or clearing the selection by returning an empty string).&lt;/P&gt;&lt;P&gt;You can also use above expression conditional for Field to show / hide just a text box as an alert, without changing user selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 11:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059425#M524253</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-13T11:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select only sequences data</title>
      <link>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059426#M524254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use this search expression to revert the selection back to the previous selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='=Sum({$1} 1)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the user makes a sequence selection, then adds another day value, the previous selection will be restored if the new selection is not a continuous sequence, so he does not lose his previous selection. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 12:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059426#M524254</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-13T12:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select only sequences data</title>
      <link>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059427#M524255</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is really great stuff, thanks!&lt;/P&gt;&lt;P&gt;Understood use of $1 to filter to last selection as I could recall but couldn't figure out how Sum(1) expression is properly selecting in field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 12:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059427#M524255</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-13T12:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Select only sequences data</title>
      <link>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059428#M524256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's basically just a shortcut to use a set of values defined by a set expression as search expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax defines an advanced search, similar to =Sum({&amp;lt;Year = {2014}&amp;gt;} Sales) &amp;gt; 10000, so you may understand it better if I would write an avanced search like&lt;/P&gt;&lt;P&gt;=Sum({SET} ConstantValue) &amp;gt; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only records related to the defined SET return a value &amp;gt; 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached the sample with the above mentioned search expression and an alert text box to help the user understand the revert action.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Mar 2016 12:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-only-sequences-data/m-p/1059428#M524256</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-13T12:54:17Z</dc:date>
    </item>
  </channel>
</rss>

