<?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 Set analysis / Selections in Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532534#M38355</link>
    <description>&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;I have a complex dimension expression that I am using for selection purposes.&amp;nbsp; It only references one field (postingDate):&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;=if(postingDate=Today(1),&lt;BR /&gt;&amp;nbsp;Dual(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;'*Today ' &amp;amp; Date(postingDate,'WWW d MMM yyyy'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postingDate&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(postingDate,'WWW d MMM yyyy')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;When a user selects a date, the selection shows the full expression as the title of the selection.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Posting Date selection 1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4118i89530364F75F7F72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Posting Date selection 1.png" alt="Posting Date selection 1.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;This doesn't really matter, but the problem is that I also have a month to date expression like this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;sum({$ &amp;lt;CalendarYear, Month, postingDate={"&amp;gt;=$(=MonthStart(Min(postingDate)))&amp;lt;=$(=Max(postingDate))"}&amp;gt;} lcAmount)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;This works fine if you select from the actual posting date field, but does not work if you select the complex table selection.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Any ideas?&amp;nbsp; I want to keep the table for selection because it highlights weekends and colours alternate weeks:&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Posting Date selection.png" style="width: 191px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4117i53DDFF4E4A671204/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Posting Date selection.png" alt="Posting Date selection.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:48:21 GMT</pubDate>
    <dc:creator>shanemichelon</dc:creator>
    <dc:date>2024-11-16T06:48:21Z</dc:date>
    <item>
      <title>Set analysis / Selections in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532534#M38355</link>
      <description>&lt;P&gt;Hi Experts!&lt;/P&gt;&lt;P&gt;I have a complex dimension expression that I am using for selection purposes.&amp;nbsp; It only references one field (postingDate):&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;=if(postingDate=Today(1),&lt;BR /&gt;&amp;nbsp;Dual(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;'*Today ' &amp;amp; Date(postingDate,'WWW d MMM yyyy'),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postingDate&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(postingDate,'WWW d MMM yyyy')&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;When a user selects a date, the selection shows the full expression as the title of the selection.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Posting Date selection 1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4118i89530364F75F7F72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Posting Date selection 1.png" alt="Posting Date selection 1.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;This doesn't really matter, but the problem is that I also have a month to date expression like this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;sum({$ &amp;lt;CalendarYear, Month, postingDate={"&amp;gt;=$(=MonthStart(Min(postingDate)))&amp;lt;=$(=Max(postingDate))"}&amp;gt;} lcAmount)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;This works fine if you select from the actual posting date field, but does not work if you select the complex table selection.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Any ideas?&amp;nbsp; I want to keep the table for selection because it highlights weekends and colours alternate weeks:&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Posting Date selection.png" style="width: 191px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4117i53DDFF4E4A671204/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Posting Date selection.png" alt="Posting Date selection.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532534#M38355</guid>
      <dc:creator>shanemichelon</dc:creator>
      <dc:date>2024-11-16T06:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis / Selections in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532557#M38357</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you need to use aggr() in your calculated dimension expression to scope the selection. See details in this great post by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2016/01/scoping-selections-with-aggr/" target="_blank"&gt;https://qlikviewcookbook.com/2016/01/scoping-selections-with-aggr/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Juraj&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 08:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532557#M38357</guid>
      <dc:creator>juraj_misina</dc:creator>
      <dc:date>2019-01-21T08:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis / Selections in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532573#M38363</link>
      <description>&lt;P&gt;Is your MTD formula is correct?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$ &amp;lt;CalendarYear, Month, postingDate={"&amp;gt;=$(=MonthStart(Min(postingDate)))&amp;lt;=$(=Max(postingDate))"}&amp;gt;} lcAmount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For me, This should be like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$ &amp;lt;CalendarYear, Month, postingDate={"&amp;gt;=$(=MonthStart(&lt;FONT color="#FF0000"&gt;Max&lt;/FONT&gt;(postingDate)))&amp;lt;=$(=Max(postingDate))"}&amp;gt;} lcAmount)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 08:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532573#M38363</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-01-21T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis / Selections in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532943#M38393</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; I'll try that!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 00:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532943#M38393</guid>
      <dc:creator>shanemichelon</dc:creator>
      <dc:date>2019-01-22T00:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis / Selections in Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532944#M38394</link>
      <description>Good Pickup. Thanks!</description>
      <pubDate>Tue, 22 Jan 2019 00:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Selections-in-Qlik-Sense/m-p/1532944#M38394</guid>
      <dc:creator>shanemichelon</dc:creator>
      <dc:date>2019-01-22T00:02:46Z</dc:date>
    </item>
  </channel>
</rss>

