<?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: trigger to select full week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718376#M724335</link>
    <description>&lt;P&gt;Hi, I think you can add a flag field in script to check those full weeks, something like:&lt;/P&gt;&lt;P&gt;If(DATE&amp;lt;WeekStart(Today()), 1, 0) as isFullWeek&lt;/P&gt;&lt;P&gt;And use this flag to filter data selcting in trigger:&lt;/P&gt;&lt;P&gt;='("'&amp;amp;concat(distinct {&amp;lt;isFullWeek={1}&amp;gt;}&amp;nbsp;&lt;SPAN&gt;WEEK_YEAR&lt;/SPAN&gt;,'"|"')&amp;amp;'")'&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 17:13:05 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2020-06-12T17:13:05Z</dc:date>
    <item>
      <title>trigger to select full week</title>
      <link>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718347#M724334</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm loading to my Qlik View application data aggregated on a daily basis.&lt;/P&gt;&lt;P&gt;Based on the date i define in the loading script the WEEK_YEAR dimension&lt;/P&gt;&lt;P&gt;as week(Floor(DATE))&amp;amp;'-'&amp;amp;YEAR(DATE) as WEEK_YEAR&amp;nbsp;&amp;nbsp; (example 14-20 )&lt;/P&gt;&lt;P&gt;i'm trying to set a trigger&amp;nbsp; to select only weeks made of 7 days (full weeks) when activating a sheet.&lt;/P&gt;&lt;P&gt;Please any idea how to set this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718347#M724334</guid>
      <dc:creator>marikabi</dc:creator>
      <dc:date>2024-11-16T00:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: trigger to select full week</title>
      <link>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718376#M724335</link>
      <description>&lt;P&gt;Hi, I think you can add a flag field in script to check those full weeks, something like:&lt;/P&gt;&lt;P&gt;If(DATE&amp;lt;WeekStart(Today()), 1, 0) as isFullWeek&lt;/P&gt;&lt;P&gt;And use this flag to filter data selcting in trigger:&lt;/P&gt;&lt;P&gt;='("'&amp;amp;concat(distinct {&amp;lt;isFullWeek={1}&amp;gt;}&amp;nbsp;&lt;SPAN&gt;WEEK_YEAR&lt;/SPAN&gt;,'"|"')&amp;amp;'")'&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 17:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718376#M724335</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-06-12T17:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: trigger to select full week</title>
      <link>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718394#M724336</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;this is great !&lt;/P&gt;&lt;P&gt;I partially used your solution, without creating any flag i just triggered the selection of dates as&lt;/P&gt;&lt;P&gt;= '&amp;lt;' &amp;amp; WeekStart(Today())&lt;/P&gt;&lt;P&gt;and it works as expected!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have a nice weekend!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 17:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trigger-to-select-full-week/m-p/1718394#M724336</guid>
      <dc:creator>marikabi</dc:creator>
      <dc:date>2020-06-12T17:47:14Z</dc:date>
    </item>
  </channel>
</rss>

