<?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 Sheet action: Select values matching search criteria in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429447#M96431</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am struggling with sheet actions, which I find too limited unfortunately.&lt;/P&gt;
&lt;P&gt;This is what I need to achieve:&lt;/P&gt;
&lt;P&gt;while changing to next sheet I need to Clear all selections and then assign former value of Dimension1 to field Dimension2.&lt;/P&gt;
&lt;P&gt;I have managed to do this by using on sheet 2 the two actions:&lt;/P&gt;
&lt;P&gt;- Clear all selections and&lt;/P&gt;
&lt;P&gt;- Select values matching search criteria with Dimension2 and formula:&amp;nbsp;&lt;STRONG&gt;='=Only({$1} Dimension1)'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justalkak_0-1710178990635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161737i5AADA940A75B19DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justalkak_0-1710178990635.png" alt="justalkak_0-1710178990635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works nice if I have selected some value of Dimension1 on the first sheet. However, if no values were selected there, if I move to the next sheet I will get ALL possible values of Dimension2 selected, which is what I dont want. If no Dimension1 values were selected on the 1st page then I would like to get no values transferred at all on next sheet to Dimension2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justalkak_2-1710178804132.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161736iA7E1502DADB0F449/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justalkak_2-1710178804132.png" alt="justalkak_2-1710178804132.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Position_Date is my Dimension2 here)&lt;/P&gt;
&lt;P&gt;I have tried with If condition on the &lt;STRONG&gt;formula&lt;/STRONG&gt; above and with set analysis expression like:&lt;/P&gt;
&lt;P&gt;='=If(Only({$1} Dimension1)&amp;gt;0, Only({$1} Dimension1), null())'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;or&lt;/P&gt;
&lt;P&gt;='=Only({$1} {&amp;lt;Dimension1={'$(=Only({$1} Dimension1))'}&amp;gt;}Dimension1)'&lt;/P&gt;
&lt;P&gt;but with no success. Adding the conditions makes the formula stop working properly..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to do this exactly this way because I have alternate state on Dimension1 and I need to clear all first not to show aternate state filter and then apply the former Dimension1 value..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate any help on this.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2024 17:43:17 GMT</pubDate>
    <dc:creator>justalkak</dc:creator>
    <dc:date>2024-03-11T17:43:17Z</dc:date>
    <item>
      <title>Sheet action: Select values matching search criteria</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429447#M96431</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am struggling with sheet actions, which I find too limited unfortunately.&lt;/P&gt;
&lt;P&gt;This is what I need to achieve:&lt;/P&gt;
&lt;P&gt;while changing to next sheet I need to Clear all selections and then assign former value of Dimension1 to field Dimension2.&lt;/P&gt;
&lt;P&gt;I have managed to do this by using on sheet 2 the two actions:&lt;/P&gt;
&lt;P&gt;- Clear all selections and&lt;/P&gt;
&lt;P&gt;- Select values matching search criteria with Dimension2 and formula:&amp;nbsp;&lt;STRONG&gt;='=Only({$1} Dimension1)'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justalkak_0-1710178990635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161737i5AADA940A75B19DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justalkak_0-1710178990635.png" alt="justalkak_0-1710178990635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works nice if I have selected some value of Dimension1 on the first sheet. However, if no values were selected there, if I move to the next sheet I will get ALL possible values of Dimension2 selected, which is what I dont want. If no Dimension1 values were selected on the 1st page then I would like to get no values transferred at all on next sheet to Dimension2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="justalkak_2-1710178804132.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161736iA7E1502DADB0F449/image-size/medium?v=v2&amp;amp;px=400" role="button" title="justalkak_2-1710178804132.png" alt="justalkak_2-1710178804132.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Position_Date is my Dimension2 here)&lt;/P&gt;
&lt;P&gt;I have tried with If condition on the &lt;STRONG&gt;formula&lt;/STRONG&gt; above and with set analysis expression like:&lt;/P&gt;
&lt;P&gt;='=If(Only({$1} Dimension1)&amp;gt;0, Only({$1} Dimension1), null())'&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;or&lt;/P&gt;
&lt;P&gt;='=Only({$1} {&amp;lt;Dimension1={'$(=Only({$1} Dimension1))'}&amp;gt;}Dimension1)'&lt;/P&gt;
&lt;P&gt;but with no success. Adding the conditions makes the formula stop working properly..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to do this exactly this way because I have alternate state on Dimension1 and I need to clear all first not to show aternate state filter and then apply the former Dimension1 value..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate any help on this.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 17:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429447#M96431</guid>
      <dc:creator>justalkak</dc:creator>
      <dc:date>2024-03-11T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet action: Select values matching search criteria</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429467#M96433</link>
      <description>&lt;P&gt;To force an earlier stage resolution, try using variables where the variable expression has a preceding '='.&amp;nbsp; The '=' sign in front of an expression used by a variable will force the whole thing to be evaluated and then basically the result is copy/pasted to where you want it to be used.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 18:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429467#M96433</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2024-03-11T18:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet action: Select values matching search criteria</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429494#M96435</link>
      <description>&lt;P&gt;I've tried with variables, but it looks like it is more about the action expression. Variable did not change anything&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 20:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429494#M96435</guid>
      <dc:creator>justalkak</dc:creator>
      <dc:date>2024-03-11T20:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sheet action: Select values matching search criteria</title>
      <link>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429645#M96452</link>
      <description>&lt;P&gt;I've found a way.. used Select values in a field action instead and&amp;nbsp;=Only({$1} Position_Date_FULL) in a variable. Works as I need.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 08:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sheet-action-Select-values-matching-search-criteria/m-p/2429645#M96452</guid>
      <dc:creator>justalkak</dc:creator>
      <dc:date>2024-03-12T08:35:59Z</dc:date>
    </item>
  </channel>
</rss>

