<?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: Data Selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070003#M87749</link>
    <description>&lt;P&gt;May be modify this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;test:=If(Region='USA' or Region='Japan',Region)&lt;/P&gt;
&lt;P&gt;test2: =If(test,Region)&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 06:39:46 GMT</pubDate>
    <dc:creator>Chanty4u</dc:creator>
    <dc:date>2023-05-11T06:39:46Z</dc:date>
    <item>
      <title>Data Selection</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2069951#M87742</link>
      <description>&lt;P&gt;I want to change the value output to the filter depending on the conditions.&lt;/P&gt;
&lt;P&gt;Currently, the if statement is used to determine the contents of the filter as shown below, but the data is not inherited when linked to another sheet. Because the formula is different (Sheet A and Sheet B).&lt;BR /&gt;What should I do?&lt;BR /&gt;&lt;BR /&gt;When I selected the data Region="US" on sheet A, the selected data Region="US" is selected on sheet B as well.&lt;BR /&gt;That's what I want to do.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;【SheetA】&lt;BR /&gt;filter:&lt;BR /&gt;If(Region="US" or Region="UK",Region)&lt;/P&gt;
&lt;P&gt;【SheetB】&lt;/P&gt;
&lt;P&gt;filter:&lt;BR /&gt;If(RegionX="US" or RegionX="UK" or RegionX="China" or RegionX="Korea" or RegionX="France",RegionX)&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2069951#M87742</guid>
      <dc:creator>louise119</dc:creator>
      <dc:date>2024-11-15T21:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data Selection</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2069980#M87745</link>
      <description>&lt;P&gt;To&amp;nbsp;&lt;SPAN&gt;achieve the desired behavior where the filter selection on Sheet A affects the filter on Sheet B, you can use the Qlik Sense native feature called "Alternate States." Alternate States allow you to create separate, independent sets of selections within a Qlik Sense app.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 05:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2069980#M87745</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2023-05-11T05:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Data Selection</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2069995#M87748</link>
      <description>&lt;P&gt;Thank you so much.&lt;BR /&gt;I'm sorry my explanation was not enough.&lt;/P&gt;
&lt;P&gt;For example, if Japan is selected in the test sheet, I want Japan to be selected in the test2 sheet as well.&lt;/P&gt;
&lt;P&gt;Currently, Japan is not highlighted in green on the test2 sheet.&lt;BR /&gt;Because the filter formula is different between test and test2. (refer to the following)&lt;/P&gt;
&lt;P&gt;test:=If(Region='USA' or Region='Japan',Region)&lt;BR /&gt;test2: =If(Region='USA' or Region = 'Japan' or Region = 'UK' ,Region)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106902i61FC12F24B6E110A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test_1.png" alt="test_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="test_2.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106903i79EB9E1ED795A8DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="test_2.png" alt="test_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 06:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2069995#M87748</guid>
      <dc:creator>louise119</dc:creator>
      <dc:date>2023-05-11T06:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data Selection</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070003#M87749</link>
      <description>&lt;P&gt;May be modify this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;test:=If(Region='USA' or Region='Japan',Region)&lt;/P&gt;
&lt;P&gt;test2: =If(test,Region)&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 06:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070003#M87749</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2023-05-11T06:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Selection</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070020#M87751</link>
      <description>&lt;P&gt;Thank you for reply.&lt;BR /&gt;I can't change the test2 formula because &amp;nbsp;I wanna filter with Region = USA or Region = Japan or Region = UK only...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 07:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070020#M87751</guid>
      <dc:creator>louise119</dc:creator>
      <dc:date>2023-05-11T07:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data Selection</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070225#M87773</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/210083"&gt;@louise119&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;I think this does what you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I started with the following two simple loads:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;aregiontable:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;LOAD * inline [&lt;BR /&gt;aregion&lt;BR /&gt;UK&lt;BR /&gt;USA&lt;BR /&gt;Europe&lt;BR /&gt;China&lt;BR /&gt;];&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;bregiontable:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;LOAD * inline [&lt;BR /&gt;bregion&lt;BR /&gt;UK&lt;BR /&gt;USA&lt;BR /&gt;Europe&lt;BR /&gt;China&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;I created a sheet called&amp;nbsp;&lt;STRONG&gt;Region A&lt;/STRONG&gt;, with a filter pane to select from dimension &lt;STRONG&gt;aregion&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next I created a sheet called &lt;STRONG&gt;Region B&lt;/STRONG&gt;. In Actions for this sheet, I chose:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Action:&lt;/STRONG&gt; Select values in a field&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Field:&lt;/STRONG&gt; bregion&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value:&lt;/STRONG&gt;&amp;nbsp;=GetFieldSelections(aregion,';')&lt;/P&gt;
&lt;P&gt;I also added a filter pane to show the selections in bregion.&lt;/P&gt;
&lt;P&gt;When I make selections from the&amp;nbsp;&lt;STRONG&gt;a&lt;/STRONG&gt; region/dimension on the filter pane in Sheet &lt;STRONG&gt;Region A:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Region A.png" style="width: 601px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106942i5BD616CFEAA1B806/image-size/large?v=v2&amp;amp;px=999" role="button" title="Region A.png" alt="Region A.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;then switch to Sheet &lt;STRONG&gt;Region B&lt;/STRONG&gt;, the same selections are made in the&amp;nbsp;&lt;STRONG&gt;b&lt;/STRONG&gt; region/dimension:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="region b.png" style="width: 724px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/106943i8A788705227E0071/image-size/large?v=v2&amp;amp;px=999" role="button" title="region b.png" alt="region b.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that if you have more than 6 regions you will need to modify the Value under Actions to increase the maximum:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;=GetFieldSelections(aregion,';',25)&lt;/P&gt;
&lt;P&gt;But I haven't tested this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Selection/m-p/2070225#M87773</guid>
      <dc:creator>N30fyte</dc:creator>
      <dc:date>2023-05-11T13:32:27Z</dc:date>
    </item>
  </channel>
</rss>

