<?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: Qlik Sense &amp;quot;if&amp;quot; statement indicating no filters have been applied in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31077#M2105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for responding but that didn't seem to work.&amp;nbsp; I appreciate the help though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 13:31:34 GMT</pubDate>
    <dc:creator>leftfield78</dc:creator>
    <dc:date>2018-03-01T13:31:34Z</dc:date>
    <item>
      <title>Qlik Sense "if" statement indicating no filters have been applied</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31075#M2103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping someone can help me with my following chart expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull([Capacity_Date.autoCalendar.Year]),&lt;/P&gt;&lt;P&gt;Sum( { $&amp;lt; [Capacity_Date.autoCalendar.InYTD]={1}, [Capacity_Date.autoCalendar.YearsAgo]={1} &amp;gt; } [Deliverables] ) - &lt;/P&gt;&lt;P&gt;Sum( { $&amp;lt; [Capacity_Date.autoCalendar.MonthRelNo]={0}, [Capacity_Date.autoCalendar.YearsAgo]={1} &amp;gt; } [Deliverables] ), Sum({&amp;lt;Cap_Year={2017}&amp;gt;}Deliverables))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to achieve is to show a YTD value for the previous year if no filters are applied - when filters are applied, I want to see the appropriate values corresponding to the filter selections.&amp;nbsp; This is being displayed in a KPI with 2 measures - the other measure shows CY YTD if no filters are applied and appropriate values corresponding to the filter selections when the filters are used.&amp;nbsp; Now, this does work, for the most part.&amp;nbsp; The problem is that when I select months, quarters, etc. spanning years, the values from the 2 KPIs default back to their YTD values.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way to write my initial "if" statement?&amp;nbsp; I'm using calendar measures to define my date filters and my set analysis expressions but am open to writing these expressions differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 21:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31075#M2103</guid>
      <dc:creator>leftfield78</dc:creator>
      <dc:date>2018-02-28T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense "if" statement indicating no filters have been applied</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31076#M2104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may need to disregard your field selections if you don't want to see the reflections of those selections in your expression value, smthg like this - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;f(isnull([Capacity_Date.autoCalendar.Year]),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sum( { $&amp;lt; [Capacity_Date.autoCalendar.InYTD]={1}, [Capacity_Date.autoCalendar.YearsAgo]={1},Month=,Year=,Quarter= &amp;gt; } [Deliverables] ) -&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Sum( { $&amp;lt; [Capacity_Date.autoCalendar.MonthRelNo]={0}, [Capacity_Date.autoCalendar.YearsAgo]={1},&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month=,Year=,Quarter=&lt;/SPAN&gt; &amp;gt; } [Deliverables] ), Sum({&amp;lt;Cap_Year={2017},&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month=,Year=,Quarter=&lt;/SPAN&gt;&amp;gt;}Deliverables))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 23:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31076#M2104</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-28T23:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense "if" statement indicating no filters have been applied</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31077#M2105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for responding but that didn't seem to work.&amp;nbsp; I appreciate the help though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 13:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-quot-if-quot-statement-indicating-no-filters-have/m-p/31077#M2105</guid>
      <dc:creator>leftfield78</dc:creator>
      <dc:date>2018-03-01T13:31:34Z</dc:date>
    </item>
  </channel>
</rss>

