<?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: Measure for the week only in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589855#M43252</link>
    <description>&lt;P&gt;And the variable vWeek will only work with a date selected. Use Vegar's suggestions above.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 06:04:08 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-06-10T06:04:08Z</dc:date>
    <item>
      <title>Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589787#M43237</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two fields I am focusing on - Date and Amount.&lt;/P&gt;&lt;P&gt;The Date 'data' has all of the autocalendar features.&lt;/P&gt;&lt;P&gt;How do I set it to where if a specific date range is selected, it can display the Amount ONLY for all of the dates in that week ?&lt;/P&gt;&lt;P&gt;Example - if one date is selected in that week, it shows a total of the Amount for the entire week and NOT just that date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks - Jerry&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2019 13:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589787#M43237</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-06-09T13:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589812#M43241</link>
      <description>&lt;P&gt;Try something like this:&lt;BR /&gt;Sum({&amp;lt;Date, YearWeek={'$(=WeekName(max(Date)))'}&lt;BR /&gt;&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date= {"&amp;gt;=$(=weekstart(MIN(Date)))&amp;lt;=$(=weekend(MAX(Date)))"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2019 20:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589812#M43241</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-09T20:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589821#M43242</link>
      <description>&lt;P&gt;How about change the date field used in the date filter to&lt;/P&gt;&lt;P&gt;Dual(date, YearWeek)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2019 20:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589821#M43242</guid>
      <dc:creator>bing_jville</dc:creator>
      <dc:date>2019-06-09T20:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589828#M43246</link>
      <description>&lt;P&gt;week(date) it will bring week from select date&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date=, Week={'$(=week(Date))'}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;u can pass selected date into variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vWeek=week(Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date=, Week={'$(vWeek)'}&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 01:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589828#M43246</guid>
      <dc:creator>Channa</dc:creator>
      <dc:date>2019-06-10T01:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589842#M43250</link>
      <description>&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/57485"&gt;@Channa&lt;/a&gt; Week() will only gives you the week number, if your data runs over multiple years you will need to use a column using both weeknumber and year like weekname().&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2019 05:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589842#M43250</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-10T05:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589855#M43252</link>
      <description>&lt;P&gt;And the variable vWeek will only work with a date selected. Use Vegar's suggestions above.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 06:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1589855#M43252</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-06-10T06:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Measure for the week only</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1590049#M43273</link>
      <description>&lt;P&gt;Hi - this seemed to do the trick :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date=, Week={'$(=week(Date))'}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you - Jerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 13:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-for-the-week-only/m-p/1590049#M43273</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-06-10T13:50:53Z</dc:date>
    </item>
  </channel>
</rss>

