<?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: Apply a default filter to Qlik Sense April 2018 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1531633#M38290</link>
    <description>&lt;P&gt;I used the extension&amp;nbsp;&lt;A href="https://developer.qlik.com/garden/59477947a758afec83f4e147" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;defaultSelectionExtension&lt;/A&gt;&amp;nbsp;and I was pretty impressed. It allowed for multiple default filter and work well with variables. The only shortcoming I see is that you must put the object on every page because the scope of the filter is at the sheet level. So if you only put the defaultFilterObject on sheet one and the user open the app to sheet two then the app won't filter like I would want (global filter applied regardless of what page was opened first). I was hoping I could nest the obj in the master filter item (which appears on all sheets in my app) but so far I have had no luck with that. Probably won't put too much time in that idea since it is included in the upgrade. Overall I would recommend the extension as a solution to hold you over until you can upgrade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a side note, I did have some issues with defaulting dates because the OLE DB / ODBC drivers for SQL Server have a bug which doesn't recognize dates (oddly it works with datetime). For some reason it treats dates as a string. I put in a ticket to address this bug but it is a Qlik Sense driver issue and not a bug in the extension.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaxPeriod.PNG" style="width: 626px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3951i1FF8884A256346D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="MaxPeriod.PNG" alt="MaxPeriod.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FilterExample01042019.png" style="width: 762px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3952i4FDAB57F8C66B26B/image-size/large?v=v2&amp;amp;px=999" role="button" title="FilterExample01042019.png" alt="FilterExample01042019.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 14:46:06 GMT</pubDate>
    <dc:creator>wdchristensen</dc:creator>
    <dc:date>2019-01-17T14:46:06Z</dc:date>
    <item>
      <title>Apply a default filter to Qlik Sense April 2018</title>
      <link>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1525946#M37813</link>
      <description>&lt;P&gt;I have an app that contains 3 years of data and I want to default a filter to the most recent completed pay period. What is a good way to accomplish this on Qlik Sense April 2018?&lt;/P&gt;&lt;P&gt;I have implemented apps with the set analysis approach below and it leaves a lot to be desired...&lt;/P&gt;&lt;P&gt;if(getselectedcount(PayPeriodNum) = 0, Sum({$&amp;lt;PayPeriodNum={$(DefaultPayPeriod)}&amp;gt;} Hours), Sum(Hours))&lt;/P&gt;&lt;P&gt;I was considering using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.qlik.com/garden/59477947a758afec83f4e147" target="_blank" rel="nofollow noopener noreferrer"&gt;defaultSelectionExtension&lt;/A&gt;, has anyone had luck with that extension?&lt;/P&gt;&lt;P&gt;I am ready to learn a better way. I appreciate any assistance you can provide!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1525946#M37813</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2024-11-16T06:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Apply a default filter to Qlik Sense April 2018</title>
      <link>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1525973#M37815</link>
      <description>&lt;P&gt;Apparently if you have Sept 2018 you can use the&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=d85WIgy35Ig" target="_blank"&gt;Dynamic Default Bookmark Selection On Open&lt;/A&gt;&amp;nbsp;to solve this issue. Maybe I will try it that way next year when we upgrade. Until the search continues...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 17:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1525973#M37815</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2019-01-03T17:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Apply a default filter to Qlik Sense April 2018</title>
      <link>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1531633#M38290</link>
      <description>&lt;P&gt;I used the extension&amp;nbsp;&lt;A href="https://developer.qlik.com/garden/59477947a758afec83f4e147" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;defaultSelectionExtension&lt;/A&gt;&amp;nbsp;and I was pretty impressed. It allowed for multiple default filter and work well with variables. The only shortcoming I see is that you must put the object on every page because the scope of the filter is at the sheet level. So if you only put the defaultFilterObject on sheet one and the user open the app to sheet two then the app won't filter like I would want (global filter applied regardless of what page was opened first). I was hoping I could nest the obj in the master filter item (which appears on all sheets in my app) but so far I have had no luck with that. Probably won't put too much time in that idea since it is included in the upgrade. Overall I would recommend the extension as a solution to hold you over until you can upgrade.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a side note, I did have some issues with defaulting dates because the OLE DB / ODBC drivers for SQL Server have a bug which doesn't recognize dates (oddly it works with datetime). For some reason it treats dates as a string. I put in a ticket to address this bug but it is a Qlik Sense driver issue and not a bug in the extension.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaxPeriod.PNG" style="width: 626px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3951i1FF8884A256346D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="MaxPeriod.PNG" alt="MaxPeriod.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FilterExample01042019.png" style="width: 762px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3952i4FDAB57F8C66B26B/image-size/large?v=v2&amp;amp;px=999" role="button" title="FilterExample01042019.png" alt="FilterExample01042019.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apply-a-default-filter-to-Qlik-Sense-April-2018/m-p/1531633#M38290</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2019-01-17T14:46:06Z</dc:date>
    </item>
  </channel>
</rss>

