<?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 substitute on Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171393#M41409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Selecting a different field with the same value that u have selected in another field u will need to store it. For that u will need to create a variable in Variable's Overview. Now to store the value in a variable u will need to go in Document Properties -&amp;gt; Triggers -&amp;gt; Field Event Triggers . Select the field on which u need to fire the trigger(same one which u r selecting) . Now in front of that there r four buttons . one of them is onSelect. Click that overe here u can add multiple actions. Add an action to set a variable. Now it will work only if ur selecting a single value.&lt;/P&gt;&lt;P&gt;To do that click on the Add button in Add Actions -&amp;gt; External-&amp;gt; Select Set Variable . in here in first text box put the name of the variable u created to store value. in next text box put a formula like "=If(GetSelectedCount(CITEM) = 1,GetFieldSelections(CITEM)) and set a variable. Now u can add action for clear as well for setting anothere field using the value stored in a variable or the othere method is to use a macro. to do the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Amar&lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 11:52:48 GMT</pubDate>
    <dc:creator>amars</dc:creator>
    <dc:date>2010-03-10T11:52:48Z</dc:date>
    <item>
      <title>substitute on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171389#M41405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a report on manufactured finished items in relation to their components.&lt;/P&gt;&lt;P&gt;In the report i would like to make various substitutions:&lt;/P&gt;&lt;P&gt;for example when the user selects a component item i would like that item to be substituted into the FITEM field and show the components for that item. As shown by the image provided.&lt;/P&gt;&lt;P&gt;is this something that can be done with Qlikview, if yes how can i implement it into the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 12:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171389#M41405</guid>
      <dc:creator />
      <dc:date>2010-03-08T12:15:03Z</dc:date>
    </item>
    <item>
      <title>substitute on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171390#M41406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does anyone have any ideas on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 15:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171390#M41406</guid>
      <dc:creator />
      <dc:date>2010-03-09T15:16:01Z</dc:date>
    </item>
    <item>
      <title>substitute on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171391#M41407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pritanya,&lt;/P&gt;&lt;P&gt;For that either u will need to write a macro or go in field Document Properties -&amp;gt; Trigger -&amp;gt; Field Event Triggers&lt;/P&gt;&lt;P&gt;Select the CITEM and on Select event add three action's (if using qlikview 9) . 1. Get the Value of selection in a variable by using if GetSelectedCount(CITEM) = 1, GetFieldSelections(CITEM). Then 2. Clear CITEM Field 3. Set the FITEM to the Value of a Variable.&lt;/P&gt;&lt;P&gt;or u can simply write a macro to be run on the Field Selection.&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Amar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 08:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171391#M41407</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2010-03-10T08:08:59Z</dc:date>
    </item>
    <item>
      <title>substitute on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171392#M41408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fairly new to qlikview 9. can you explain what actions will be associated with your suggestions, the only one i'm certain about is suggestion number 2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 11:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171392#M41408</guid>
      <dc:creator />
      <dc:date>2010-03-10T11:03:06Z</dc:date>
    </item>
    <item>
      <title>substitute on Selection</title>
      <link>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171393#M41409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Selecting a different field with the same value that u have selected in another field u will need to store it. For that u will need to create a variable in Variable's Overview. Now to store the value in a variable u will need to go in Document Properties -&amp;gt; Triggers -&amp;gt; Field Event Triggers . Select the field on which u need to fire the trigger(same one which u r selecting) . Now in front of that there r four buttons . one of them is onSelect. Click that overe here u can add multiple actions. Add an action to set a variable. Now it will work only if ur selecting a single value.&lt;/P&gt;&lt;P&gt;To do that click on the Add button in Add Actions -&amp;gt; External-&amp;gt; Select Set Variable . in here in first text box put the name of the variable u created to store value. in next text box put a formula like "=If(GetSelectedCount(CITEM) = 1,GetFieldSelections(CITEM)) and set a variable. Now u can add action for clear as well for setting anothere field using the value stored in a variable or the othere method is to use a macro. to do the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Amar&lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 11:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/substitute-on-Selection/m-p/171393#M41409</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2010-03-10T11:52:48Z</dc:date>
    </item>
  </channel>
</rss>

