<?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: Help with GetSelectedCount for graph time periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286602#M517947</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... more digging on this.&amp;nbsp; I created a KPI with the following value:&amp;nbsp; GetSelectedCount(C_Surgery_Date) and no matter what months I select, the KPI doesn't change... it stays ate zero.&amp;nbsp; I think that's my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does GetSelectedCount have problems counting months?&amp;nbsp; I've tried lots of iterations of modifying the date field but nothing is working.&amp;nbsp; thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2017 17:40:12 GMT</pubDate>
    <dc:creator>jtay</dc:creator>
    <dc:date>2017-02-06T17:40:12Z</dc:date>
    <item>
      <title>Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286597#M517942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a line graph that displays counts by month.&lt;/P&gt;&lt;P&gt;I want it to default to a 13 month period but still allow a user to interact with the data.&lt;/P&gt;&lt;P&gt;Here's my Measure:&lt;/P&gt;&lt;P&gt;if(GetSelectedCount(C_Surgery_Date)&amp;gt;0,&lt;/P&gt;&lt;P&gt;count({&amp;lt;ORCaseVolumeFlag={1}&amp;gt;} LOG_ID)&lt;/P&gt;&lt;P&gt;,count({&amp;lt;[_R12]={1},ORCaseVolumeFlag={1}&amp;gt;} LOG_ID))//rolling 13 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here's my Dimension:&amp;nbsp; monthname(C_Surgery_Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default view is just right.&lt;/P&gt;&lt;P&gt;Clicking on one of the datapoints within the graph (the 13 month range) filters just right.&lt;/P&gt;&lt;P&gt;My problem happens when using a filter pane for C_Surgery_Date and selecting something outside of the 13 months.&lt;/P&gt;&lt;P&gt;The graph is replaced with the text:&amp;nbsp; The selections generated no data for this chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I turned on show zero values after clearing the selection and now it looks like everything outside that 13 month range is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I just use count({&amp;lt;ORCaseVolumeFlag={1}&amp;gt;} LOG_ID)&amp;nbsp;&amp;nbsp; it shows everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I set this up to meet my objective?&lt;/P&gt;&lt;P&gt;Using Sense 3.0&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 22:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286597#M517942</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-02-02T22:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286598#M517943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to show previous 13 months from the selected date&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;previous 13 from the Max(date) if nothing is selected?&lt;/P&gt;&lt;P&gt;is that correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 03:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286598#M517943</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-03T03:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286599#M517944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the default view of the graph to be 13 months.&amp;nbsp; If a user selects one of the dates in that range, the graph only shows that date and that's fine.&amp;nbsp;&amp;nbsp; All other visualizations will filter to that date and that's what we want. &lt;/P&gt;&lt;P&gt;The problem is that when you select a date outside of the 13 months shown on the graph, everything goes to zero.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286599#M517944</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-02-03T14:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286600#M517945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how are you filtering for 13 months data in the expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;is this the Flag you created for Prior 13 months? &lt;/SPAN&gt;&lt;STRONG&gt;ORCaseVolumeFlag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286600#M517945</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-03T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286601#M517946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My prior 13 month flag is:&amp;nbsp; [_R12]={1}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286601#M517946</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-02-03T14:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286602#M517947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... more digging on this.&amp;nbsp; I created a KPI with the following value:&amp;nbsp; GetSelectedCount(C_Surgery_Date) and no matter what months I select, the KPI doesn't change... it stays ate zero.&amp;nbsp; I think that's my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does GetSelectedCount have problems counting months?&amp;nbsp; I've tried lots of iterations of modifying the date field but nothing is working.&amp;nbsp; thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 17:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286602#M517947</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-02-06T17:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286603#M517948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a sample app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 19:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286603#M517948</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-06T19:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286604#M517949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a sample.&amp;nbsp; thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 20:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286604#M517949</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-02-07T20:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286605#M517950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a sample.&amp;nbsp; thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 16:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286605#M517950</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-02-10T16:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286606#M517951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will check and get back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286606#M517951</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-10T18:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with GetSelectedCount for graph time periods</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286607#M517952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found out the answer for this one... getselectedcount does not work on a derived field. &lt;/P&gt;&lt;P&gt;I was trying to see if a month&amp;nbsp; (C_Surgery_Date) was selected, but that field was created in the app load script.&lt;/P&gt;&lt;P&gt;Moved it to the transform and it worked fine.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 15:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-GetSelectedCount-for-graph-time-periods/m-p/1286607#M517952</guid>
      <dc:creator>jtay</dc:creator>
      <dc:date>2017-05-18T15:55:39Z</dc:date>
    </item>
  </channel>
</rss>

