<?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: Re: Question from new user about Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662716#M1064846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe somthing like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66423" alt="Capture000.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/66423_Capture000.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set a variable - control it via the slider. In the expression I am displaying all vendors with x&amp;gt;=number of orders &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 00:26:22 GMT</pubDate>
    <dc:creator>danieloberbilli</dc:creator>
    <dc:date>2014-09-10T00:26:22Z</dc:date>
    <item>
      <title>Question from new user about Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662711#M1064833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please forgive me, I am brand new to Qlikview. I have a very simple request I'm sure. I want to create a new variable during the load script that sums orders by vendors. In the attached file I have 2 simple columns, a vendor ID and an Order ID and I simply want to create a new variable during the load script that I can re-use that shows the total number of orders for any selected vendor. I understand this can be achieved easily within Qlikview by using a count but I'm using this simple example to teach myself more about Qlikview and using variables. Any help is very much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 23:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662711#M1064833</guid>
      <dc:creator />
      <dc:date>2014-09-09T23:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question from new user about Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662712#M1064836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression would be count(distinct Order)&amp;nbsp; and the way to create such a variable is as follows in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vNumOrders='count(distinct Order_id)';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable will be evaluated in what any context you insert it into. For example, the blue text box has no context so you get a global count.&amp;nbsp; The chart however is broken down by the dimension Vendor_ID so you get a count per vendor_id. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invoke the variable using dollar sign expansion wherever you use it:&amp;nbsp;&amp;nbsp; $(vNumOrders)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/66406_sample.PNG.png" style="width: 620px; height: 319px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 23:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662712#M1064836</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-09T23:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Question from new user about Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662713#M1064839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A variable can only have 1 value at a time - so doesnt work in your case, as each vendor can have another count of orders. Just use a straight table with Vendor as Dimension and count(Order_ID) as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture111.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/66422_Capture111.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 23:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662713#M1064839</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-09-09T23:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Question from new user about Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662714#M1064842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you very much. I may be heading down a wrong path however, but what I want to be able to do is search for all vendors who, for example, have 3 orders and have only those orders displayed. That's why I was thinking I need a variable but in actuality I am looking to create a new field for each vendoe that has a count of their orders. Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 00:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662714#M1064842</guid>
      <dc:creator />
      <dc:date>2014-09-10T00:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Question from new user about Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662715#M1064844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 'threshold' value can be captured through a user input. Below is a drop down example with prefilled values 1-10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once selected the chart only shows vendors with &amp;gt;= the threshold value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image jiveImage" src="https://community.qlik.com/legacyfs/online/66427_Capture.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 00:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662715#M1064844</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-10T00:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Question from new user about Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662716#M1064846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe somthing like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66423" alt="Capture000.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/66423_Capture000.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set a variable - control it via the slider. In the expression I am displaying all vendors with x&amp;gt;=number of orders &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 00:26:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-from-new-user-about-Variables/m-p/662716#M1064846</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2014-09-10T00:26:22Z</dc:date>
    </item>
  </channel>
</rss>

