<?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: Outer set expression combined with pick(match( in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Outer-set-expression-combined-with-pick-match/m-p/2139901#M92667</link>
    <description>&lt;P&gt;I'm not entirely sure what the issue here is, but have you tried using:&lt;/P&gt;
&lt;P&gt;RangeSum({&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial))"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C) , -{&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial)-1)"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C))&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 15:07:14 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-11-21T15:07:14Z</dc:date>
    <item>
      <title>Outer set expression combined with pick(match(</title>
      <link>https://community.qlik.com/t5/App-Development/Outer-set-expression-combined-with-pick-match/m-p/2139899#M92666</link>
      <description>&lt;P&gt;I want to compare the current month with the previous month.&lt;/P&gt;
&lt;P&gt;The result is build up from a Pick Match, where the master items T1A etc are the KPI calculations with there own calculations with set analysis in it.&lt;/P&gt;
&lt;P&gt;Current month:&lt;/P&gt;
&lt;P&gt;{&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial))"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C)&lt;/P&gt;
&lt;P&gt;Previous month:&lt;/P&gt;
&lt;P&gt;{&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial)-1)"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C)&lt;/P&gt;
&lt;P&gt;The result is het sum [Current month] - [Previous month] by combining both statement as 1 measure like this:&lt;/P&gt;
&lt;P&gt;{&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial))"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C)&lt;/P&gt;
&lt;P&gt;- (minus)&lt;/P&gt;
&lt;P&gt;{&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial)-1)"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C)&lt;/P&gt;
&lt;P&gt;This does not work because it are 2 different outer set operators. At least, I have not found a way to make it work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do yo have solution? Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 15:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Outer-set-expression-combined-with-pick-match/m-p/2139899#M92666</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2023-11-21T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Outer set expression combined with pick(match(</title>
      <link>https://community.qlik.com/t5/App-Development/Outer-set-expression-combined-with-pick-match/m-p/2139901#M92667</link>
      <description>&lt;P&gt;I'm not entirely sure what the issue here is, but have you tried using:&lt;/P&gt;
&lt;P&gt;RangeSum({&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial))"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C) , -{&amp;lt;_YearMonth_serial = {"$(=Max(_YearMonth_serial)-1)"}&amp;gt;} Pick(Match('$(T1orT2)', 'T1','T2','T2_S1'), T1A, T2A, T2C))&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 15:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Outer-set-expression-combined-with-pick-match/m-p/2139901#M92667</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-11-21T15:07:14Z</dc:date>
    </item>
  </channel>
</rss>

