<?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: Ignore User Selection and show count of a certain date range in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200089#M22721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is format of date in IncidentDate Field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Oct 2016 07:37:25 GMT</pubDate>
    <dc:creator>shraddha_g</dc:creator>
    <dc:date>2016-10-29T07:37:25Z</dc:date>
    <item>
      <title>Ignore User Selection and show count of a certain date range</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200088#M22720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Incidents that have StateValue that are Active, Resolved, or Cancel.&lt;/P&gt;&lt;P&gt;There are 2 date dimensions, 1 is IncidentDate when an incident is created, 1 is ModifiedDate when an incident is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to count the # of Resolved IncidentIDs that were created (IncidentDate) between the dates of 07/27/2016 and 10/31/2016 (going back about 3 months) regardless of IncidentYear, IncidentMonth, IncidentWeek, and IncidentDate selection by a user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I need to get a count of Resolved IncidentIDs in Oct-16.&amp;nbsp; If I just do Count({&amp;lt; [StateValue] = {'Resolved'} &amp;gt;} [StateValue]), when a user selects Oct-16, it will only show # of Resolved IncidentIDs that were created in Oct-16.&amp;nbsp; I need the # of IncidentIDs that were created between 07/27/2016 and 10/31/2016 and Resolved in Oct-16.&amp;nbsp; Is this even possible?&amp;nbsp; Everything I've tried failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;IncidentMonth_Short=,IncidentYear=,IncidentWeek_Short=,IncidentDate=,IncidentDate={"&amp;gt;=07/27/2016&amp;lt;=10/31/2016"},StateValue={'Resolved'}&amp;gt;}DISTINCT IncidentID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have all this done out of a report in Excel, but of course the management wants to see it done in Qlik....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200088#M22720</guid>
      <dc:creator />
      <dc:date>2024-11-16T10:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore User Selection and show count of a certain date range</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200089#M22721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is format of date in IncidentDate Field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 07:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200089#M22721</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2016-10-29T07:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore User Selection and show count of a certain date range</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200090#M22722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Dates can be tricky in set hence they are dual() values. Try to get your set intervall to work, you might need to put ' around your dates as it is the text value.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2016 17:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200090#M22722</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2016-10-29T17:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore User Selection and show count of a certain date range</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200091#M22723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 15:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200091#M22723</guid>
      <dc:creator />
      <dc:date>2016-10-31T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore User Selection and show count of a certain date range</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200092#M22724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I issue like this is always easier to solve by the community if you provide som kind of sample data, but I'll give it a try.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Try&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14780379242331154" jivemacro_uid="_14780379242331154" modifiedtitle="true"&gt;
&lt;P&gt;Count({1&amp;lt;IncidentDate={&lt;SPAN style="font-size: 13.3333px;"&gt;"$(='&amp;lt;=' &amp;amp; Date('&lt;/SPAN&gt;07/27/2016') &amp;amp; '&amp;gt;=' &amp;amp; date('10/31/2016')) "},StateValue={'Resolved'}&amp;gt;}DISTINCT IncidentID)&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The set {1} will ignore all your selection and you don't need to explicit clear other fields.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you are selecting ModifiedDates my guess is that your final expression will look something like this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14780381848141974 jive_text_macro" jivemacro_uid="_14780381848141974"&gt;
&lt;P&gt;Count({1&amp;lt;IncidentDate={&lt;SPAN style="font-size: 13.3333px;"&gt;"$(='&amp;lt;=' &amp;amp; Date(max(ModifiedDate)&lt;/SPAN&gt;) &amp;amp; '&amp;gt;=' &amp;amp; date( addmonths(max(ModifiedDate), -3 ) ) "},StateValue={'Resolved'}&amp;gt;}DISTINCT IncidentID)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;This will ignore all selections, but select IncidentDate within three months from your largest ModifiedDate-selection where the stateValue is Resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 22:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200092#M22724</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2016-11-01T22:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore User Selection and show count of a certain date range</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200093#M22725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Except for what &lt;A href="https://community.qlik.com/people/vegar.lie.arntsen"&gt;vegar.lie.arntsen&lt;/A&gt;‌ has pointed out that you expression probably don't need individual ignoring of your date fields because you are ignoring them all using a 1, I don't see anything wrong with your expression from what you have shared. Would you be able to share a sample where you can show the issue and also point out what are you expecting to see as a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 01:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-User-Selection-and-show-count-of-a-certain-date-range/m-p/1200093#M22725</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T01:54:05Z</dc:date>
    </item>
  </channel>
</rss>

