<?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 filters for Networkdays calculation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ignore-filters-for-Networkdays-calculation/m-p/1458263#M35932</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try 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;Networkdays(Max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; PhoneCallDate), Today() - 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jan 2018 18:24:46 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-03T18:24:46Z</dc:date>
    <item>
      <title>Ignore filters for Networkdays calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-filters-for-Networkdays-calculation/m-p/1458262#M35931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've looked around and seen several solutions for creating a static calculation on a field that is subject to filters, but my use case seems to be sufficiently different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a daily report with a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Employee&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Days Since Last Phone Call&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Days Worked&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Gianna&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Harold&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Tyler&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This report has a filter that allows users to select a number of weeks. The Days Worked column should be dynamic and show the number of days worked for the selected time period. However, I would like the Days Since Last Phone Call column to always show the number of days since the last call relative to today. Currently, it does so only when no filter is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code I am using for the Days Since Last Phone Call column is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Networkdays(Max(PhoneCallDate), Today() - 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen several discussions that mention using set analysis, but I am not doing a count or sum so it does not appear to be applicable. I also cannot use TOTAL as I need the days to be per employee, not a whole.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 18:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-filters-for-Networkdays-calculation/m-p/1458262#M35931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore filters for Networkdays calculation</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-filters-for-Networkdays-calculation/m-p/1458263#M35932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try 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;Networkdays(Max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; PhoneCallDate), Today() - 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 18:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-filters-for-Networkdays-calculation/m-p/1458263#M35932</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-03T18:24:46Z</dc:date>
    </item>
  </channel>
</rss>

