<?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: Container Object Selection as a Condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1852960#M70436</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please take a look at my following approach and let me know if this has helped you resolve the second issue:&lt;/P&gt;

&lt;OL&gt;
 &lt;LI&gt;I did my reproduction for 3 Departments (&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DepartmentA&lt;/STRONG&gt;&lt;/SPAN&gt;, &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DepartmentB &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DepartmentC&lt;/STRONG&gt;&lt;/SPAN&gt;), with 3 charts for each department&amp;nbsp;(&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart1&lt;/STRONG&gt;&lt;/SPAN&gt;, &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart2 &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart3&lt;/STRONG&gt;&lt;/SPAN&gt;) and a unique commentary for each department and chart combination. So my dataset looks like:&lt;/LI&gt;
 &lt;LI&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/b8b39997-5547-49b8-b0b0-34db3c3aad90.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;Then I have created the following variables:&lt;/LI&gt;
 &lt;LI&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/fbf8b6fc-3eb3-4a75-8584-dd6c9c6ace30.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;After that, I have created 2 &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Variable input objects&lt;/STRONG&gt;&lt;/SPAN&gt; with the following &lt;STRONG&gt;Dynamic values&lt;/STRONG&gt;:&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='1~Department A|2~Department B|3~Department C'&lt;/STRONG&gt;&lt;/SPAN&gt; for the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Departments&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='1~Chart 1|2~Chart 2|3~Chart 3'&lt;/STRONG&gt;&lt;/SPAN&gt; for the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Charts&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/bf08b207-e9b4-46bb-985c-dd493d27c1ef.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;For the container I have created 9 charts in total. 3 for each department and for the &lt;STRONG&gt;Show conditions&lt;/STRONG&gt; I have used (accordingly):&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt; and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;As soon as those configurations are in place, I have created a new &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Text &amp;amp; image object &lt;/STRONG&gt;&lt;/SPAN&gt;with the following measure expression:
 &lt;P&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Only&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;({&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

 &lt;P&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;={&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;"$(=Pick('$(varSelectedDepartment)', 'DepartmentA', 'DepartmentB', 'DepartmentC'))"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;},&amp;nbsp;&lt;BR /&gt;
 &amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;={&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;"$(=Pick('$(varSelectedChart)', 'Chart1', 'Chart2', 'Chart3'))"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

 &lt;P&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Commentary&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
 &lt;/LI&gt;
 &lt;LI&gt;
 &lt;P&gt;This expressions uses the Function &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Pick()&lt;/STRONG&gt;&lt;/SPAN&gt; which will return the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Department &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart &lt;/STRONG&gt;&lt;/SPAN&gt;title based on the selections in the variables. Additionally the Set expression will show &lt;STRONG&gt;only&lt;/STRONG&gt; the commentary from the dataset where the criteria are matched. e.g. Only where &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Department &lt;/STRONG&gt;&lt;/SPAN&gt;field equals with &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;DepartmentA &lt;/STRONG&gt;&lt;/SPAN&gt;and at the same time the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart &lt;/STRONG&gt;&lt;/SPAN&gt;field equals with &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;Chart1 &lt;/STRONG&gt;&lt;/SPAN&gt;etc.&lt;/P&gt;
 &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;This is the result that I have:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/44270e52-9f35-48ca-9725-d8cdbcd402dc.default.png" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/d6b8a5f0-82be-4113-bbc6-0c1c27c5ad68.default.png" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;As you can see when the &lt;STRONG&gt;Department A&lt;/STRONG&gt; and &lt;STRONG&gt;Chart 1&lt;/STRONG&gt; are selected, the corresponding message is displayed in &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Text &amp;amp; image object&lt;/STRONG&gt;&lt;/SPAN&gt;. The same thing happens for when the &lt;STRONG&gt;Department C and Chart 1&lt;/STRONG&gt; are selected etc. If my understanding,&amp;nbsp;of your use case scenario, is correct, then I believe that this is the closest that you can get to your expected output.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;if this has helped you resolved the second issue, please mark&amp;nbsp;it as solution to the issue as well. This will allow other community members to find this&amp;nbsp;answer easily in case they need to.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 09:22:46 GMT</pubDate>
    <dc:creator>Andrei_Cusnir</dc:creator>
    <dc:date>2021-10-28T09:22:46Z</dc:date>
    <item>
      <title>Container Object Selection as a Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1848460#M70122</link>
      <description>&lt;P&gt;I'm trying to make the information contained in a text box change depending on the selection of an object in a container.&lt;/P&gt;&lt;P&gt;So if a user selects Labour Costs, they will see a certain body of text in the text box to the right&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GrantBooth_0-1634607334922.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64658iD71E8707AB46F1BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GrantBooth_0-1634607334922.png" alt="GrantBooth_0-1634607334922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if they select Labour Costs by Business Unit they will see different text&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GrantBooth_1-1634607426206.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64659i7224C86F29D11E7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GrantBooth_1-1634607426206.png" alt="GrantBooth_1-1634607426206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this possible to do?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 01:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1848460#M70122</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-10-19T01:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Container Object Selection as a Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1849968#M70250</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If my understanding is correct, you want to choose different visualizations to display in the container and based on the selection, you would like to update the text in the "&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Text &amp;amp; image&lt;/STRONG&gt;&lt;/SPAN&gt;" object. This use case scenario natively is not supported however the logic behind it is: Every time the a tab is selected in the Container object, a public variable would get updated as well and this variable would have the text that you want to display. I would suggest you to create a &lt;SPAN style="color:#f1c40f"&gt;&lt;STRONG&gt;Feature Request&lt;/STRONG&gt;&lt;/SPAN&gt; [1] and elaborate in detail why this would be beneficial for you.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Although natively it is not supported, you can achieve a similar behavior with the use of &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Variable input&lt;/STRONG&gt;&lt;/SPAN&gt; object. Here are the steps that I have followed:&lt;/P&gt;

&lt;OL&gt;
 &lt;LI&gt;Create the following variables:&lt;/LI&gt;
 &lt;LI&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/d4b0c2bf-35e2-4985-af1b-f473858f275a.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;The &lt;SPAN style="color:#9b59b6"&gt;&lt;STRONG&gt;varSelected1 &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#9b59b6"&gt;&lt;STRONG&gt;varSelected2 &lt;/STRONG&gt;&lt;/SPAN&gt;are the text that you want to display in the &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Text &amp;amp; image&lt;/STRONG&gt;&lt;/SPAN&gt; object&lt;/LI&gt;
 &lt;LI&gt;The &lt;SPAN style="color:#9b59b6"&gt;&lt;STRONG&gt;varSelectedContainer &lt;/STRONG&gt;&lt;/SPAN&gt;is the the actively selected tab in the container&lt;/LI&gt;
 &lt;LI&gt;Create a Container with two different Bar charts&lt;/LI&gt;
 &lt;LI&gt;For the first Bar chart add Show condition "&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;=varSelectedContainer=1&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/LI&gt;
 &lt;LI&gt;For the second Bar chart add Show condition = "&lt;STRONG&gt;&lt;SPAN style="color:#27ae60"&gt;=varSelectedContainer=2&lt;/SPAN&gt;&lt;/STRONG&gt;"&amp;nbsp;&lt;/LI&gt;
 &lt;LI&gt;Create a new Input variable object with the details:&lt;/LI&gt;
 &lt;LI&gt;Appearance &amp;gt; Variable &amp;gt; Name : &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;varSelectedContainer&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;Appearance &amp;gt; Variable &amp;gt; Show as: &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Drop down&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;Appearance &amp;gt; Values &amp;gt; Fixed or dynamic values&amp;nbsp;: &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Dynamic&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;Appearance &amp;gt; Values &amp;gt; Dynamic values&amp;nbsp;:&lt;STRONG&gt; &lt;SPAN style="color:#27ae60"&gt;='1~Yearly|2~Monthly'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;
 &lt;LI&gt;Now create the &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Text &amp;amp; image &lt;/STRONG&gt;&lt;/SPAN&gt;object and add measure: "&lt;SPAN style="color:#16a085"&gt;&lt;STRONG&gt;=Pick(varSelectedContainer, varSelected1, varSelected2)&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;What is going to happen in this use case scenario:&lt;/P&gt;

&lt;OL&gt;
 &lt;LI&gt;On the Container object you will only see the chart that is current selected&lt;/LI&gt;
 &lt;LI&gt;When you choose different option form Variable input object the public variable &lt;SPAN style="color:#9b59b6"&gt;&lt;STRONG&gt;varSelectedContainer &lt;/STRONG&gt;&lt;/SPAN&gt;is going to be updated with 1 or 2&lt;/LI&gt;
 &lt;LI&gt;The conditions in the &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Container &lt;/STRONG&gt;&lt;/SPAN&gt;object will update the visualization that you see&lt;/LI&gt;
 &lt;LI&gt;The expression in the &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Text &amp;amp; image&lt;/STRONG&gt;&lt;/SPAN&gt; object will update the text that is presented&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;What happens when you choose values in the Variable input:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/5b15b589-36c9-4842-ba51-b295fa6557e1.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/7a683e1a-8b6f-47c0-9d35-fe9219ada87c.default.PNG" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I believe this is as close as you can get to your use case scenario. I hope that this information was helpful. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581" target="_blank"&gt;https://community.qlik.com/t5/Knowledge-Base/How-To-Submit-Feature-Requests-For-Qlik-Products/ta-p/1712581&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 09:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1849968#M70250</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2021-10-21T09:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Container Object Selection as a Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1850400#M70282</link>
      <description>&lt;P&gt;Thank you so much, that's the most helpful response I've had on the forums.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 23:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1850400#M70282</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-10-21T23:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Container Object Selection as a Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1852792#M70420</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/146877"&gt;@Andrei_Cusnir&lt;/a&gt;&amp;nbsp;&amp;nbsp; I was wondering if you might be able to provide a little more help here. I've implemented the solution that you recommended, and it's been working very well there's just one final piece to the puzzle.&lt;/P&gt;
&lt;P&gt;I am needing to work with a large number of different commentaries, there's 11 departments with an average of 5 objects each, each month, that need their own commentary, so creating a variable for each permutation is not possible.&amp;nbsp; In order to overcome this, I've imported a fact table with columns Period, Department Description, Chart and Commentary, which has been loaded successfully.&lt;/P&gt;
&lt;P&gt;I would like it that when a user selects a department, month and chart it will then produce the commentary. This works except for the chart field - I am trying to make Qlik select the chart field corresponding to the variable selected from the dropdown. So I'm tying to do something like&lt;/P&gt;
&lt;P&gt;If v.SelectedContainer = 1, Chart = 1&lt;/P&gt;
&lt;P&gt;I have been able to get this to work if I use a button to show commentary - i've used action Select Values matching search criteria, and set the value to $(v.SelectedContainter) This works perfectly, so the data is sound, but it's obviously not ideal to have users having to press an extra button to show this commentary.&amp;nbsp; Is there a way I can implement this in one step?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 01:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1852792#M70420</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-10-28T01:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Container Object Selection as a Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1852960#M70436</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Please take a look at my following approach and let me know if this has helped you resolve the second issue:&lt;/P&gt;

&lt;OL&gt;
 &lt;LI&gt;I did my reproduction for 3 Departments (&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DepartmentA&lt;/STRONG&gt;&lt;/SPAN&gt;, &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DepartmentB &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;DepartmentC&lt;/STRONG&gt;&lt;/SPAN&gt;), with 3 charts for each department&amp;nbsp;(&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart1&lt;/STRONG&gt;&lt;/SPAN&gt;, &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart2 &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart3&lt;/STRONG&gt;&lt;/SPAN&gt;) and a unique commentary for each department and chart combination. So my dataset looks like:&lt;/LI&gt;
 &lt;LI&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/b8b39997-5547-49b8-b0b0-34db3c3aad90.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;Then I have created the following variables:&lt;/LI&gt;
 &lt;LI&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/fbf8b6fc-3eb3-4a75-8584-dd6c9c6ace30.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;After that, I have created 2 &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Variable input objects&lt;/STRONG&gt;&lt;/SPAN&gt; with the following &lt;STRONG&gt;Dynamic values&lt;/STRONG&gt;:&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='1~Department A|2~Department B|3~Department C'&lt;/STRONG&gt;&lt;/SPAN&gt; for the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Departments&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='1~Chart 1|2~Chart 2|3~Chart 3'&lt;/STRONG&gt;&lt;/SPAN&gt; for the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Charts&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/bf08b207-e9b4-46bb-985c-dd493d27c1ef.default.PNG" /&gt;&lt;/LI&gt;
 &lt;LI&gt;For the container I have created 9 charts in total. 3 for each department and for the &lt;STRONG&gt;Show conditions&lt;/STRONG&gt; I have used (accordingly):&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt; and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;
 &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;='$(varSelectedDepartment)' = &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;and '$(varSelectedChart)' =&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#e67e22"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;As soon as those configurations are in place, I have created a new &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Text &amp;amp; image object &lt;/STRONG&gt;&lt;/SPAN&gt;with the following measure expression:
 &lt;P&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Only&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;({&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

 &lt;P&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;={&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;"$(=Pick('$(varSelectedDepartment)', 'DepartmentA', 'DepartmentB', 'DepartmentC'))"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;},&amp;nbsp;&lt;BR /&gt;
 &amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;={&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;"$(=Pick('$(varSelectedChart)', 'Chart1', 'Chart2', 'Chart3'))"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

 &lt;P&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Commentary&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
 &lt;/LI&gt;
 &lt;LI&gt;
 &lt;P&gt;This expressions uses the Function &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Pick()&lt;/STRONG&gt;&lt;/SPAN&gt; which will return the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Department &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart &lt;/STRONG&gt;&lt;/SPAN&gt;title based on the selections in the variables. Additionally the Set expression will show &lt;STRONG&gt;only&lt;/STRONG&gt; the commentary from the dataset where the criteria are matched. e.g. Only where &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Department &lt;/STRONG&gt;&lt;/SPAN&gt;field equals with &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;DepartmentA &lt;/STRONG&gt;&lt;/SPAN&gt;and at the same time the &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;Chart &lt;/STRONG&gt;&lt;/SPAN&gt;field equals with &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;Chart1 &lt;/STRONG&gt;&lt;/SPAN&gt;etc.&lt;/P&gt;
 &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;This is the result that I have:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/44270e52-9f35-48ca-9725-d8cdbcd402dc.default.png" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/d6b8a5f0-82be-4113-bbc6-0c1c27c5ad68.default.png" /&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;As you can see when the &lt;STRONG&gt;Department A&lt;/STRONG&gt; and &lt;STRONG&gt;Chart 1&lt;/STRONG&gt; are selected, the corresponding message is displayed in &lt;SPAN style="color:#8e44ad"&gt;&lt;STRONG&gt;Text &amp;amp; image object&lt;/STRONG&gt;&lt;/SPAN&gt;. The same thing happens for when the &lt;STRONG&gt;Department C and Chart 1&lt;/STRONG&gt; are selected etc. If my understanding,&amp;nbsp;of your use case scenario, is correct, then I believe that this is the closest that you can get to your expected output.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;if this has helped you resolved the second issue, please mark&amp;nbsp;it as solution to the issue as well. This will allow other community members to find this&amp;nbsp;answer easily in case they need to.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 09:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1852960#M70436</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2021-10-28T09:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Container Object Selection as a Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1853318#M70459</link>
      <description>&lt;P&gt;Thank you so much again, you've been so helpful. Cheers mate &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 22:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Container-Object-Selection-as-a-Condition/m-p/1853318#M70459</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-10-28T22:45:45Z</dc:date>
    </item>
  </channel>
</rss>

