<?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 Expression optimization in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2482263#M100917</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using the following expression to select 7 days for the given field. I am relatively new to expressions and was wondering if there's a neater way to do this:&lt;/P&gt;
&lt;P&gt;='$(=date(Max({1} Total [Placed Bet Date])-6));' &amp;amp; &lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-5));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-4));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-3));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-2));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-1));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])))'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fenjas72_0-1726664451841.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171834iC558221360FDB5F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fenjas72_0-1726664451841.png" alt="fenjas72_0-1726664451841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Sep 2024 13:02:05 GMT</pubDate>
    <dc:creator>fenjas72</dc:creator>
    <dc:date>2024-09-18T13:02:05Z</dc:date>
    <item>
      <title>Expression optimization</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2482263#M100917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using the following expression to select 7 days for the given field. I am relatively new to expressions and was wondering if there's a neater way to do this:&lt;/P&gt;
&lt;P&gt;='$(=date(Max({1} Total [Placed Bet Date])-6));' &amp;amp; &lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-5));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-4));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-3));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-2));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])-1));' &amp;amp;&lt;BR /&gt;'$(=date(Max({1} Total [Placed Bet Date])))'&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fenjas72_0-1726664451841.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171834iC558221360FDB5F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fenjas72_0-1726664451841.png" alt="fenjas72_0-1726664451841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 13:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2482263#M100917</guid>
      <dc:creator>fenjas72</dc:creator>
      <dc:date>2024-09-18T13:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression optimization</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2482565#M100942</link>
      <description>&lt;P&gt;Try&lt;BR /&gt;&amp;gt;=$(=date(Max({1} Total [Placed Bet Date])-6))&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 14:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2482565#M100942</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2024-09-19T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression optimization</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2483269#M101016</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In hindsight, your solution makes perfect sense however, even though it evaluates correctly, no selections are made.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fenjas72_4-1727186911313.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172097iEDFCED835CFBB440/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fenjas72_4-1727186911313.png" alt="fenjas72_4-1727186911313.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that the only way to set selections is to pass values as a comma-delimited string. I'm using a sheet action as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fenjas72_0-1727186812288.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172093i235711ADAA283236/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fenjas72_0-1727186812288.png" alt="fenjas72_0-1727186812288.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 14:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-optimization/m-p/2483269#M101016</guid>
      <dc:creator>fenjas72</dc:creator>
      <dc:date>2024-09-24T14:08:39Z</dc:date>
    </item>
  </channel>
</rss>

