<?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: Set Analysis when using pick(match....... function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721341#M54872</link>
    <description>&lt;P&gt;Work policies don't enable me to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some more details if it helps:&lt;/P&gt;&lt;P&gt;I am using an inline table as a data island.&lt;/P&gt;&lt;P&gt;- I have a calendar for monthyear&lt;/P&gt;&lt;P&gt;- The combo chart is using monthyear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- The chart expression changes as per selection of the dimension in the data island.&lt;/P&gt;&lt;P&gt;- chart works if single set analysis expression and disregards monthyear&lt;/P&gt;&lt;P&gt;- chart does not work when using pick(match(....function using the data island, it filters down to single month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seems to be a similar thread on this which was unresolved as well...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2020 15:12:44 GMT</pubDate>
    <dc:creator>bc5891</dc:creator>
    <dc:date>2020-06-23T15:12:44Z</dc:date>
    <item>
      <title>Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721289#M54863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am creating a chart which should not be affected by a month year selection&amp;nbsp;&lt;/P&gt;&lt;P&gt;like below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bc5891_0-1592919069021.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/36092iF78DC29DF91DF959/image-size/large?v=v2&amp;amp;px=999" role="button" title="bc5891_0-1592919069021.png" alt="bc5891_0-1592919069021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the following expression it works:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Month Year]= , PeriodDateNum={"&amp;gt;=$(vPrior12MonthYearNum)"} &amp;gt;} [A] )&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I try to introduce pick&amp;nbsp; at the start of my expression, the same expression doesn;t work, it gets affected by the date selection.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PICK(MATCH(DIM, 'A', 'B'),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Month Year]= , PeriodDateNum={"&amp;gt;=$(vPrior12MonthYearNum)"} &amp;gt;} [A] ) ,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Month Year]= , PeriodDateNum={"&amp;gt;=$(vPrior12MonthYearNum)"} &amp;gt;} [B] )&amp;nbsp;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Does anyone have a specific reason why this will not work or have a workaround?&amp;nbsp; I need the dynamic nature of the pick and match function in my chart.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721289#M54863</guid>
      <dc:creator>bc5891</dc:creator>
      <dc:date>2024-11-16T02:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721318#M54865</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;PICK(MATCH( &lt;STRONG&gt;Only({1}&lt;/STRONG&gt; DIM &lt;STRONG&gt;)&lt;/STRONG&gt;, 'A', 'B'),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Month Year]= , PeriodDateNum={"&amp;gt;=$(vPrior12MonthYearNum)"} &amp;gt;} [A] ) ,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Month Year]= , PeriodDateNum={"&amp;gt;=$(vPrior12MonthYearNum)"} &amp;gt;} [B] )&amp;nbsp;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721318#M54865</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-06-23T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721326#M54869</link>
      <description>&lt;P&gt;Thanks for the response - I did see something similar to this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I put the only ({1} field) addition, it does not work unfortunately - it actually shows no data then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's frustrating as the chart works perfectly without the pick(match function...but at the same time this is required!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 14:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721326#M54869</guid>
      <dc:creator>bc5891</dc:creator>
      <dc:date>2020-06-23T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721334#M54870</link>
      <description>&lt;P&gt;Could you share your app sample?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 15:03:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721334#M54870</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-06-23T15:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721341#M54872</link>
      <description>&lt;P&gt;Work policies don't enable me to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some more details if it helps:&lt;/P&gt;&lt;P&gt;I am using an inline table as a data island.&lt;/P&gt;&lt;P&gt;- I have a calendar for monthyear&lt;/P&gt;&lt;P&gt;- The combo chart is using monthyear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- The chart expression changes as per selection of the dimension in the data island.&lt;/P&gt;&lt;P&gt;- chart works if single set analysis expression and disregards monthyear&lt;/P&gt;&lt;P&gt;- chart does not work when using pick(match(....function using the data island, it filters down to single month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seems to be a similar thread on this which was unresolved as well...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 15:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1721341#M54872</guid>
      <dc:creator>bc5891</dc:creator>
      <dc:date>2020-06-23T15:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1836219#M69083</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I hope this is resolved as this is an old thread. Although for record, I am adding here some suggestions that worked for me.&lt;/P&gt;&lt;P&gt;1. Only({1}Dim) - works fine if you want to ignore selections.&lt;/P&gt;&lt;P&gt;2. When using pick-match statement, if you need to use expression as value, add it in a variable and use the variable instead; direct expressions doesn't work.&lt;/P&gt;&lt;P&gt;Eg: Pick(Match(Only({1}Dim, '1','2')),$(Variable1),$(Variable2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jaspreet&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 05:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1836219#M69083</guid>
      <dc:creator>jazzsran</dc:creator>
      <dc:date>2021-09-15T05:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis when using pick(match....... function</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1836221#M69085</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/34323"&gt;@jazzsran&lt;/a&gt;&amp;nbsp;, thank you for sharing your solution. However, the statement :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;When using pick-match statement, if you need to use expression as value, add it in a variable and use the variable instead; &lt;STRONG&gt;direct expressions doesn't work&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;might not be right.&lt;/STRONG&gt; I would assume that the effect you saw could be because of the way you wrote your expression and/or variable definition. As general statement - this is probably mis-leading. I would like to ask you to share a sample qvf that demonstrates the issue and solution you have worked on.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 05:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-when-using-pick-match-function/m-p/1836221#M69085</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-09-15T05:34:39Z</dc:date>
    </item>
  </channel>
</rss>

