<?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: Problem with network days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670536#M243659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the format of your Day field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 09:56:30 GMT</pubDate>
    <dc:creator>simondachstr</dc:creator>
    <dc:date>2014-10-07T09:56:30Z</dc:date>
    <item>
      <title>Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670531#M243654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I need not consider Saturdays and Sundays in my qv document. I have to calculate the data of yesterday, but when today is Monday i want to calculate data of Friday. &lt;/P&gt;&lt;P&gt;Thank you for your help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 08:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670531#M243654</guid>
      <dc:creator />
      <dc:date>2014-10-07T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670532#M243655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using FirstWorkDate(Today(),2) maybe..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 08:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670532#M243655</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-07T08:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670533#M243656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an object text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=num(count({$&amp;lt;Day={$(=Max(Day)-1)},[name]={'BOOK'},[id]={1},[ip]={7}&amp;gt;}distinct id_2)&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I add your function ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you @&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="85977" data-username="mahlerma" href="https://community.qlik.com/people/mahlerma" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;Martin Mahler&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 08:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670533#M243656</guid>
      <dc:creator />
      <dc:date>2014-10-07T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670534#M243657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=num(count({$&amp;lt;Day={'$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;FirstWorkDate(Today(),2))'&lt;/SPAN&gt;},[name]={'BOOK'},[id]={1},[ip]={7}&amp;gt;}distinct id_2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670534#M243657</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-07T09:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670535#M243658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the data every day of "yesterday", when is tuesday-&amp;gt;data monday, when is wednesday-&amp;gt; data tuesday and when is monday-&amp;gt;data friday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670535#M243658</guid>
      <dc:creator />
      <dc:date>2014-10-07T09:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670536#M243659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the format of your Day field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670536#M243659</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-07T09:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670537#M243660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Script Editor sql:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;datepart(dd,table_pp.date_reg) AS 'Day',&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 09:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670537#M243660</guid>
      <dc:creator />
      <dc:date>2014-10-07T09:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670538#M243661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you be more specific - what does a typical record look like? 01/10/2014? 28 Jan? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 10:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670538#M243661</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-07T10:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670539#M243662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;07/10/2014 10:04:53&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DD/MM/YYYY h:mm:ss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 10:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670539#M243662</guid>
      <dc:creator />
      <dc:date>2014-10-07T10:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670540#M243663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use some complex set analysis here, but I stronlgy recommend to you to load an additional date field in the script&lt;/P&gt;&lt;P&gt;Date(Date#(datepart(dd,table_pp.date_reg),'DD/MM/YYYY HH:MM:SS'),'DD/MM/YYYY') AS Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the following format instead: 07/10/2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, use this field in your set analysis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=num(count({$&amp;lt;Date={'$(=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FirstWorkDate(Today(),2))'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;},[name]={'BOOK'},[id]={1},[ip]={7}&amp;gt;}distinct id_2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 10:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670540#M243663</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-07T10:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670541#M243664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks but not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 11:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670541#M243664</guid>
      <dc:creator />
      <dc:date>2014-10-07T11:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670542#M243665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More ideas???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 05:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670542#M243665</guid>
      <dc:creator />
      <dc:date>2014-10-08T05:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670543#M243666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FirstWorkDate(today(),2)) will give you your desired date. Now your issue is not getting the right work date, but correctly applying the set analysis expression to your [Day] field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've suggested two options based on the information that you have made available, which are working in my local test example, but apparently do not work in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way now to help you is if you could upload a sample qvw file of your data. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 08:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670543#M243666</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-10-08T08:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670544#M243667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but i can`t. do that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've did this:&lt;/P&gt;&lt;P&gt;=if(DayW&amp;lt;&amp;gt;'Monday',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;num(count({$&amp;lt;Day={$(=Max(Day)-1)},[name]={'BOOK'},[id]={1},[ip]={7}&amp;gt;}distinct id_2)&lt;/SPAN&gt;,'#.##0,00'),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;num(count({$&amp;lt;Day={$(=Max(Day)-3)},[name]={'BOOK'},[id]={1},[ip]={7}&amp;gt;}distinct id_2)&lt;/SPAN&gt;,'#.##0,00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when is 02/10/2014 or 01/10/2014 the result is -, what is the problem?&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>Wed, 08 Oct 2014 11:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670544#M243667</guid>
      <dc:creator />
      <dc:date>2014-10-08T11:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with network days</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670545#M243668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas?&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>Thu, 09 Oct 2014 06:36:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-network-days/m-p/670545#M243668</guid>
      <dc:creator />
      <dc:date>2014-10-09T06:36:08Z</dc:date>
    </item>
  </channel>
</rss>

