<?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: Help with Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242739#M92761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your reply, although that's not what i wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to get it working now though, i changed the expression to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(InDealQuantity)/vTriggerQty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All other variables i have used in the past have needed triggers to be set up, this was one of the easiest &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 13:35:37 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2011-10-12T13:35:37Z</dc:date>
    <item>
      <title>Help with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242737#M92759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i need some help setting up an input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i currently use the following expression in a straight table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Round(If ([Deal Description] = '12721 - LUNCH TIME DEAL £3' or [Deal Description] = '200030 - LUNCH TIME DEAL £3' ,Sum(InDealQuantity)/3, Sum(InDealQuantity)/2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which basically divides the InDealQuantity for the specified deals descriptions by 3, any other DealDescriptions are divides by 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to try and have an input box instead where the user chooses the deal, then enters a 'Qty' instead of it being hard coded like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fields are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InDealQuantity = items sold as part of a deal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up a variable &lt;/P&gt;&lt;P&gt;vTriggerQty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i don't know what to do on the variable trigger..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;I have attached a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 12:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242737#M92759</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-10-12T12:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242738#M92760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hopee this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 13:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242738#M92760</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-10-12T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242739#M92761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for your reply, although that's not what i wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have managed to get it working now though, i changed the expression to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(InDealQuantity)/vTriggerQty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All other variables i have used in the past have needed triggers to be set up, this was one of the easiest &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 13:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Variable/m-p/242739#M92761</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-10-12T13:35:37Z</dc:date>
    </item>
  </channel>
</rss>

