<?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 Ignore selection with set analysis and autocalendar fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42685#M2893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Sense app allows the user to filter using a field that is auto-created during the load: &lt;STRONG&gt;[ObservationDate.&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;autoCalendar.Year]&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am surprised to find that I cannot use set analysis to ignore the user selection in a KPI. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My KPI: &lt;/SPAN&gt;&lt;STRONG&gt;Count({$&amp;lt;[ObservationDate.autoCalendar.Year]= &amp;gt;} distinct PatientID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count({$&amp;lt;[ObservationDate.autoCalendar.Year]={*} &amp;gt;} distinct PatientID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Both set analyses have no effect; if the user selects any &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ObservationDate.autoCalendar.Year]&lt;/STRONG&gt; values, the KPI value is changed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But using the underlying field, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ObservationDate]&lt;/STRONG&gt;, in &lt;SPAN style="text-decoration: underline;"&gt;both&lt;/SPAN&gt; the filter pane &lt;SPAN style="text-decoration: underline;"&gt;and&lt;/SPAN&gt; the KPI yields "normal" behavior (i.e., the KPI ignores user selections).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In conclusion, is it necessary to create a field like &lt;STRONG&gt;Year(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ObservationDate])&lt;/STRONG&gt; during the load to get "normal" behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 13:49:00 GMT</pubDate>
    <dc:creator>Lauri</dc:creator>
    <dc:date>2018-04-16T13:49:00Z</dc:date>
    <item>
      <title>Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42685#M2893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Sense app allows the user to filter using a field that is auto-created during the load: &lt;STRONG&gt;[ObservationDate.&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;autoCalendar.Year]&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am surprised to find that I cannot use set analysis to ignore the user selection in a KPI. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My KPI: &lt;/SPAN&gt;&lt;STRONG&gt;Count({$&amp;lt;[ObservationDate.autoCalendar.Year]= &amp;gt;} distinct PatientID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count({$&amp;lt;[ObservationDate.autoCalendar.Year]={*} &amp;gt;} distinct PatientID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Both set analyses have no effect; if the user selects any &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ObservationDate.autoCalendar.Year]&lt;/STRONG&gt; values, the KPI value is changed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But using the underlying field, &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ObservationDate]&lt;/STRONG&gt;, in &lt;SPAN style="text-decoration: underline;"&gt;both&lt;/SPAN&gt; the filter pane &lt;SPAN style="text-decoration: underline;"&gt;and&lt;/SPAN&gt; the KPI yields "normal" behavior (i.e., the KPI ignores user selections).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In conclusion, is it necessary to create a field like &lt;STRONG&gt;Year(&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ObservationDate])&lt;/STRONG&gt; during the load to get "normal" behavior?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42685#M2893</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2018-04-16T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42686#M2894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seems to be an issue with the fields created with derived calendar.... its unfortunate that it doesn't work... but may be someone at Qlik side might look into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 14:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42686#M2894</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-16T14:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42687#M2895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reason is that the autocalendar didn't creates real fields else it are derived measures and therefore I assume they won't work it cases where real fields are needed like set analysis, aggr, total &amp;lt;Field&amp;gt; and so on. I think there are further reasons why an own ceated master-calendar is not outdated ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 15:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42687#M2895</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-16T15:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42688#M2896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny and Marcus, for contributing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition to what I described before, today I am also seeing it with a chart dimension that is simply &lt;STRONG&gt;date(ObservationDate)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think I should log this is a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 18:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42688#M2896</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2018-04-18T18:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42689#M2897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Until now I don't do much with Sense and when I don't use the autocalendar else a classical master-calendar. Therefore I have no own experience with this feature and couldn't say if there is a bug or if it behaved like designed but I would try it just with &lt;STRONG&gt;ObservationDate&lt;/STRONG&gt; without date() because it is already a date and if it shouldn't be displayed in a different format it isn't necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 05:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42689#M2897</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-19T05:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42690#M2898</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;May be try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Count({1&amp;lt;[ObservationDate.autoCalendar.Year]= &amp;gt;} distinct PatientID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 09:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42690#M2898</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2018-04-19T09:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42691#M2899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My hunch is that Marcus is most on target, that the autocalendar dates are not "real" dimensions, so they don't work everywhere. You are right, removing the date() function lets it work; I had it there because the dimension was showing as numeric.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42691#M2899</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2018-04-19T19:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore selection with set analysis and autocalendar fields</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42692#M2900</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;SPAN lang="en"&gt;&lt;SPAN&gt;I solved the issue by creating a master item dimension that I used throughout the dashboard.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Dimension = [Data.Calendar.YearMonth]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;Then I use it on all objects.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;In the set analysis I put &lt;SPAN lang="en"&gt;[Data.Calendar.YearMonth].&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN lang="en"&gt;Élio Godinho&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 15:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-selection-with-set-analysis-and-autocalendar-fields/m-p/42692#M2900</guid>
      <dc:creator>egodinho</dc:creator>
      <dc:date>2018-07-17T15:16:15Z</dc:date>
    </item>
  </channel>
</rss>

