<?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: Week over week table with only weeks with all 7 days data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134893#M601827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what I have now (pretty much)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(WeekStart(TransDate, 0, DayOfWeekID),'DD-MMM-YY')&amp;nbsp;&amp;nbsp; - The DayOfWeekID lets the users select what day of the week they want to start (I have some that want the week to start on Saturday and some on Sunday, that fixes that). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is I am only grabbing the last 42 days (this is a huge amount of data - I tried 60 days but it killed our servers). The data coming in, for example, is starting 09/13/2018. The pivot table is showing a date of 09-Sep-18 because that is the day of the week for that first dataset. So it is a partial week of data. That is a problem because when they look at this pivot table, they will look at that week (and in most cases the current week as well) and are like WTH when it comes to the data. Why is the data so vastly different those weeks. When I explained to them that they were partial weeks, they said 'well take it out then because when I take this to excel (because pivot tables don't have sparklines) the trends are off'. And that is where I am at right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - If the powers that be at &lt;A href="https://community.qlik.com/qlik-users/3172"&gt;jgl&lt;/A&gt; &lt;A href="https://community.qlik.com/qlik-users/78461"&gt;cia&lt;/A&gt; @Qlikview read this, please put this ability in a future release. Many companies out there have a ton of data. We can't bring in a year's worth when we have several million lines of data in just one day. Therefore the trending really needs to count. Oh, and a sparkline in a pivot table would be really cool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 19:40:08 GMT</pubDate>
    <dc:creator>mp802377</dc:creator>
    <dc:date>2018-10-26T19:40:08Z</dc:date>
    <item>
      <title>Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134888#M601822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is there a way in my table to only show weeks that have a full set of data? I am pulling in 60 days worth of data. The week is starting on a Sunday. I don't want the current week or the first week if there is less then 7 days of data, it would skew the trend. &lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Martha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My WeekStart is set for Sunday. My date field is Date. I am just summing sever lines. Like sum(field)&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, 24 Oct 2018 17:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134888#M601822</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2018-10-24T17:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134889#M601823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is the best approach but i believe this will work. create a flag like below to identify if the max week is a partial week. then use set analysis to exclude.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Max(Date) as MaxDate&lt;/P&gt;&lt;P&gt;resident yourtable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save this into a variable&lt;/P&gt;&lt;P&gt;and use below to mark the row as a partial&lt;/P&gt;&lt;P&gt;if(num(WeekDay(MaxDate))=6,'N',if(Date&amp;lt;=MaxDate and CalDate&amp;gt;=WeekStart(Date),'Y','N')) as PartialFlag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 17:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134889#M601823</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-10-24T17:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134890#M601824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any luck?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 13:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134890#M601824</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-10-26T13:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134891#M601825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sadly, no. But thank you for trying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 13:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134891#M601825</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2018-10-26T13:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134892#M601826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={"&amp;lt;$(=weekstart(max(Date),0,6))"}&amp;gt;} Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/September2018/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/weekstart.htm" title="https://help.qlik.com/en-US/sense/September2018/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/weekstart.htm"&gt;https://help.qlik.com/en-US/sense/September2018/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/weekstar…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 18:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134892#M601826</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2018-10-26T18:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134893#M601827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what I have now (pretty much)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(WeekStart(TransDate, 0, DayOfWeekID),'DD-MMM-YY')&amp;nbsp;&amp;nbsp; - The DayOfWeekID lets the users select what day of the week they want to start (I have some that want the week to start on Saturday and some on Sunday, that fixes that). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is I am only grabbing the last 42 days (this is a huge amount of data - I tried 60 days but it killed our servers). The data coming in, for example, is starting 09/13/2018. The pivot table is showing a date of 09-Sep-18 because that is the day of the week for that first dataset. So it is a partial week of data. That is a problem because when they look at this pivot table, they will look at that week (and in most cases the current week as well) and are like WTH when it comes to the data. Why is the data so vastly different those weeks. When I explained to them that they were partial weeks, they said 'well take it out then because when I take this to excel (because pivot tables don't have sparklines) the trends are off'. And that is where I am at right now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - If the powers that be at &lt;A href="https://community.qlik.com/qlik-users/3172"&gt;jgl&lt;/A&gt; &lt;A href="https://community.qlik.com/qlik-users/78461"&gt;cia&lt;/A&gt; @Qlikview read this, please put this ability in a future release. Many companies out there have a ton of data. We can't bring in a year's worth when we have several million lines of data in just one day. Therefore the trending really needs to count. Oh, and a sparkline in a pivot table would be really cool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 19:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134893#M601827</guid>
      <dc:creator>mp802377</dc:creator>
      <dc:date>2018-10-26T19:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Week over week table with only weeks with all 7 days data</title>
      <link>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134894#M601828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The difference between your and mine expression&amp;nbsp; is that mine contains as SET and a MODIFIER reducing the expression only to consider date values from the previous week (assuming that a week is not complete until you've stepped over to the next week).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need both upper and lower borders try this&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;Sum({&amp;lt;Date={"&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=weekend(min(Date),0,6))&lt;/SPAN&gt;&amp;lt;$(=weekstart(max(Date),0,6)) "}&amp;gt;} Field)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 21:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-over-week-table-with-only-weeks-with-all-7-days-data/m-p/134894#M601828</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2018-10-26T21:59:29Z</dc:date>
    </item>
  </channel>
</rss>

