<?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: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1759964#M58747</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sending this over + the additional link. Someone in my organization directed me to create a master calendar instead, which took me a step in another direction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 16:26:54 GMT</pubDate>
    <dc:creator>patelm12</dc:creator>
    <dc:date>2020-11-09T16:26:54Z</dc:date>
    <item>
      <title>Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1757944#M58509</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm building a "productivity" qliksense table. It looks at how many appointments were scheduled in the past and even provides us with a glimpse at future appointments (I coded it to show appointments scheduled for 3 weeks in the future.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is that the pivot table I'm using (I need this for my stakeholders) is very large. I wanted to make this pivot table only show 13 weeks total:&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Previous 9 weeks&lt;/LI&gt;&lt;LI&gt;This week&lt;/LI&gt;&lt;LI&gt;3 weeks in the future&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The measure is a "count" of all the appointments. Each column is a week. See screenshot below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I go about doing this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patelm12_0-1604347325988.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43391i178D742FA4FF8D76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patelm12_0-1604347325988.png" alt="patelm12_0-1604347325988.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1757944#M58509</guid>
      <dc:creator>patelm12</dc:creator>
      <dc:date>2024-11-16T01:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1757982#M58511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128896"&gt;@patelm12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Date={"&amp;gt;=$(=WeekStart(Max(Date),-9))&amp;lt;=$(=WeekStart(Max(Date),3))"}, Year=, Month=, Week=&amp;gt;}&lt;SPAN&gt;appointments&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;Exclude all Time filters and replace Date field with your date field name.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 03:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1757982#M58511</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-03T03:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758138#M58547</link>
      <description>&lt;P&gt;Thank you for helping,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I'm trying to understand the equation you shared so I can use/create more in the future.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I put this into the Measure portion of the pivot table, right?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; In the original equation, you included: "&lt;STRONG&gt;Year=, Month=, Week=,&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;Why do we include this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding values to the year, month, and week at the end and I kept getting an error. I know I messed up, but can you help me understand how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I did to your equation:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;(weekstart(ENCOUNTER_DATE))={"&amp;gt;=$(=WeekStart(Max(weekstart(ENCOUNTER_DATE)),-9))&amp;lt;=$(=WeekStart(Max(weekstart(ENCOUNTER_DATE)),3))"}, year= 2020, month = 11, week = 11/1/2020&amp;gt;} Count(distinct CSN)})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 14:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758138#M58547</guid>
      <dc:creator>patelm12</dc:creator>
      <dc:date>2020-11-03T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758186#M58552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128896"&gt;@patelm12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you send the sample file.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 16:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758186#M58552</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-03T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758248#M58558</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to send you a sample, but I don't think my organization allows me to share externally.&lt;/P&gt;&lt;P&gt;I've included screenshots below - does this help? Thank you!!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patelm12_0-1604433088281.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43460i1A14115C79D596C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patelm12_0-1604433088281.png" alt="patelm12_0-1604433088281.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patelm12_1-1604433123447.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43461i0E216A12374BA0EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patelm12_1-1604433123447.png" alt="patelm12_1-1604433123447.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patelm12_2-1604433154090.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43462i11847457419FFD8B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patelm12_2-1604433154090.png" alt="patelm12_2-1604433154090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 19:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758248#M58558</guid>
      <dc:creator>patelm12</dc:creator>
      <dc:date>2020-11-03T19:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758297#M58563</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128896"&gt;@patelm12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You have Date field, so try like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;Date={"&amp;gt;=$(=WeekStart(Max(Date),-9))&amp;lt;=$(=WeekEnd(Max(Date),3))"}, Year=, Month=, Week=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN&gt;distinct CSN&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I put this into the Measure portion of the pivot table, right? &amp;lt;-- Yes&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; In the original equation, you included: "&lt;STRONG&gt;Year=, Month=, Week=,&lt;/STRONG&gt;" &amp;lt;-- its ignore your year, month &amp;amp; week selections.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your expression looks wrong. We can't use multiple aggregation function, and set analysis syntax is wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can find many set analysis pdf file in community. Sample links are below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Education-Documents/Set-Analysis-Presentation-pdf/ta-p/1487937" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Education-Documents/Set-Analysis-Presentation-pdf/ta-p/1487937&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 00:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1758297#M58563</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-04T00:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Pivot Table - show 3 weeks future from today and only 9 weeks past</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1759964#M58747</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sending this over + the additional link. Someone in my organization directed me to create a master calendar instead, which took me a step in another direction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 16:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Pivot-Table-show-3-weeks-future-from-today-and-only-9/m-p/1759964#M58747</guid>
      <dc:creator>patelm12</dc:creator>
      <dc:date>2020-11-09T16:26:54Z</dc:date>
    </item>
  </channel>
</rss>

