<?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 - with time bracket in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176670#M21629</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;I need the chart as soon as you load the sheet show last 6 days...then if a user choses a event date, it will show the data for 6 days from the chosen date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get 0 I just get the count for the single day (EventDate) chosen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 12:36:29 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2016-08-02T12:36:29Z</dc:date>
    <item>
      <title>getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176665#M21624</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;I am using the following expression on a measure on a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[EventDate.CalendarMain.Date]={"&amp;gt;=$(=Date(Today()-6))&amp;lt;=$(=Max(EventDate))"}&amp;gt;}[Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however I need to be able to select an event date from a filter pane, and the pivot table will thus show - 6 days from the selected event date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getselectedcount within a sort expression on EventDate , I cannot get this to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( GetSelectedCount(EventDate), Max(FinancialYear), (EventDate)-6) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 08:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176665#M21624</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-07-29T08:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176666#M21625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna, can you try this?:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({$&amp;lt;[EventDate.CalendarMain.Date]={"&amp;gt;=$(=Date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Max(EventDate)&lt;/STRONG&gt;&lt;/SPAN&gt;-6))&amp;lt;=$(=Max(EventDate))"}&amp;gt;}[Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 08:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176666#M21625</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-07-29T08:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176667#M21626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[EventDate.CalendarMain.Date]={"&amp;gt;=$(=Date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(GetSelectedCount(EventDate), Max(FinancialYear), Max(EventDate)-6))&lt;/SPAN&gt;)&amp;lt;=$(=Max(EventDate))"}&amp;gt;}[Sales])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 08:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176667#M21626</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-29T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176668#M21627</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;these above don't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there's nothing wrong with my calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its just when i need to select a different event date from the filter pane, i would like the pivot table to select the next 6 days previous to date chosen in filter pane.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to place something in the event date sort by expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( GetSelectedCount({&amp;lt;[EventDate.CalendarMain.Date]={"&amp;gt;=$(=Date(Today()-6))&amp;lt;=$(=Max(EventDate))"}&amp;gt;}EventDate), Max(FinancialYear), EventDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i cannot get it to work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 13:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176668#M21627</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-07-29T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176669#M21628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna, Today()-6 is 23/07/2016, if you have a fixed "Today()-6" and the user select some date before that one it will show zero, because there will be no date upper than 23/07 and lower at the same time, that's why you need to use the selected date in both places (&amp;gt;= and &amp;lt;=).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About whyit doesn't works I will need a sample to check date formats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2016 15:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176669#M21628</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-07-29T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176670#M21629</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;I need the chart as soon as you load the sheet show last 6 days...then if a user choses a event date, it will show the data for 6 days from the chosen date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get 0 I just get the count for the single day (EventDate) chosen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 12:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176670#M21629</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2016-08-02T12:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: getselectedcount - with time bracket</title>
      <link>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176671#M21630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna, if you select '01/06/2016' (or any other date of june) as filtered event date it shows one day? how can any date accomplish the condition &amp;gt;=27/07/2016 and &amp;lt;=01/06/2016?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will need a sample to check and give an answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 13:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/getselectedcount-with-time-bracket/m-p/1176671#M21630</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-08-02T13:03:50Z</dc:date>
    </item>
  </channel>
</rss>

