<?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 a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341006#M125982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="18055" alt="Untitled.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/18055_Untitled.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;No it will work even if you check show alternative. Please see the attached image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2012 12:38:06 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2012-07-10T12:38:06Z</dc:date>
    <item>
      <title>set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341003#M125979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I got a list box for Promotion Types&lt;/P&gt;&lt;P&gt;I don't want when the user select a promotion type to filter data so I gave the list box an alternate state&lt;/P&gt;&lt;P&gt;Now I want when the user select a promotion type to set a variable called vPromotion&lt;/P&gt;&lt;P&gt;I added a trigger to the field Prmotiontype to (External-&amp;gt;Set Variable)yet the variable is not being set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 12:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341003#M125979</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-07-09T12:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341004#M125980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;AliHijazi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;I didn't get what you said. If i understood when user selects PromotionTypes this selection should not effect the other charts then you can go through the set analysis. ie. Sum({&amp;lt;PromotionTypes=&amp;gt;}Value). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;If you want to store the selected values of promotion type in vPromotion variable then just add expression to varaible =GetFieldSelection(PromotionTypes,',','*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Let me know if i'm wrong. I'll try to help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hope it helps you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Jagan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 13:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341004#M125980</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-07-09T13:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341005#M125981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is what I want &lt;/P&gt;&lt;P&gt;but the variable doesn't get set unless I remove the alternate state on the PromotionTypes; something I don't want I need to add the alternate state to the PromotionTypes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 07:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341005#M125981</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2012-07-10T07:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341006#M125982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="18055" alt="Untitled.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/18055_Untitled.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;No it will work even if you check show alternative. Please see the attached image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 12:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341006#M125982</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-07-10T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: set a variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341007#M125983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess , Suppose you have cretaed a variable "myvar" for selected values of "Promotion Types"&amp;nbsp; of "Alternative state1"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;you are using the variable value in a chart/Text object, then you &lt;A&gt;&lt;/A&gt;have to keep the same alternative state i.e "Alternative state1" for the chart then only variable wil result the slected value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 13:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-a-variable/m-p/341007#M125983</guid>
      <dc:creator />
      <dc:date>2012-07-10T13:52:34Z</dc:date>
    </item>
  </channel>
</rss>

