<?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: GetSelectedCount for date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100398#M18573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, no problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set this thread to 'Assumed answered', too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 15:22:32 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-23T15:22:32Z</dc:date>
    <item>
      <title>GetSelectedCount for date</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100394#M18569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm building a dashboard with couple of charts that are supposed to show the calculation of the measures for '2015-05-18' as default or basically when no date is selected until a date get selected from the bottom chart in the dashboard. I thought &lt;SPAN style="font-size: 13.3333px;"&gt;Getselectioncount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; would be the easiest way of getting it right and it works to some extend when I select a date from the bottom chart but it doesnt show the correct sum by opening the dashboard or when no date selection is made.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Here is the formula that I'm using for the KPI that is in red.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sum(${&amp;lt;EVENT_DATE={'$(=If(Getselectioncount({'EVENT_DATE'})='', {'2016-05-18'},{'EVENT_DATE'})'}&amp;gt;}&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;TOTAL_DISCREPANCY_VALUE_OVER)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-06-23 at 2.02.55 PM.png" class="jive-image image-1" src="/legacyfs/online/128977_Screen Shot 2016-06-23 at 2.02.55 PM.png" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm totally stocked and appreciate any help...&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 12:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100394#M18569</guid>
      <dc:creator />
      <dc:date>2016-06-23T12:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount for date</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100395#M18570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try to avoid posting the same topic multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes it hard to follow a discussion and clutters the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/222231"&gt;GetSelectedCount for Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 13:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100395#M18570</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-23T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount for date</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100396#M18571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kandu, maybe you are trying to use GetSelect&lt;STRONG style="color: #ff0000;"&gt;ed&lt;/STRONG&gt;Count()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function returns a number wich represent the number of different values selected in the field, so it returns zero when no values are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(${&amp;lt;EVENT_DATE={'$(=Max(EVENT_DATE))'}&amp;gt;} TOTAL_DISCREPANCY_VALUE_OVER)&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If one, more or no dates are selected, it will use the max date as the filter in set analysis. Or you want 2016-05-18 to be fixed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 13:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100396#M18571</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-06-23T13:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount for date</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100397#M18572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it took so long to publish that I thought I made a mistake and didnt press post. I tried your solution tho and it works perfect now. Thank you!&lt;/P&gt;&lt;P&gt;Sara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 14:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100397#M18572</guid>
      <dc:creator />
      <dc:date>2016-06-23T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: GetSelectedCount for date</title>
      <link>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100398#M18573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, no problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please set this thread to 'Assumed answered', too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 15:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetSelectedCount-for-date/m-p/1100398#M18573</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-23T15:22:32Z</dc:date>
    </item>
  </channel>
</rss>

