<?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 Analysis using variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576127#M1119106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;then try this if u indeed it to hard code then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum( {&amp;lt; WarehouseField = {'DeliveryWrhsName'} &amp;gt;} WarehousesBalance.Balance ).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 10:06:14 GMT</pubDate>
    <dc:creator>er_mohit</dc:creator>
    <dc:date>2014-01-28T10:06:14Z</dc:date>
    <item>
      <title>Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576123#M1119102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm develop an OOR (Open Order Report), and I have a problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Background table (that loaded on script):&lt;/P&gt;&lt;P&gt;Open Orders&lt;/P&gt;&lt;P&gt;Warhouses Balance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show a table with all the open orders details, and the corresponding current delivery warhouse balance.&lt;BR /&gt;On Open Orders table I have a fields that contain the delivery wrhs:&lt;/P&gt;&lt;P&gt;OpenOrders.DeliveryWarehouseName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Warhouses Balance, field that contain the name of the warehouse.&lt;/P&gt;&lt;P&gt;Warehouse#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea was to define a variables that contain the OpenOrders.DeliveryWarhouseName:&lt;/P&gt;&lt;P&gt;vDeliveryWrhsName = OpenOrders.DeliveryWarehouseName&lt;/P&gt;&lt;P&gt;and by Set Analysis to wrote somthing like:&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt; Warehouse# = {'$(vDeliveryWrhsName)' &amp;gt;} WarehousesBalance.Balance ).&lt;/P&gt;&lt;P&gt;and it's not working for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is how to declare the variable (maybe more than 1?), and how to use them in the chart (straight or pivot tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sopry for my poor english,&lt;/P&gt;&lt;P&gt;hope that is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance -&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 09:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576123#M1119102</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-28T09:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576124#M1119103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum( {&amp;lt; WarehouseField = {'=$(=vDeliveryWrhsName)'} &amp;gt;} WarehousesBalance.Balance ).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 09:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576124#M1119103</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-01-28T09:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576125#M1119104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mohit - &lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the solution you gave does not work for me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again -&lt;/P&gt;&lt;P&gt;Matan. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 09:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576125#M1119104</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-28T09:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576126#M1119105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something more: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think -&amp;nbsp; the fact that every open order row is linked (through the part) to many warehouses -&amp;nbsp; causing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need an expression to sum only the delivery warehouse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576126#M1119105</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-28T10:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576127#M1119106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;then try this if u indeed it to hard code then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum( {&amp;lt; WarehouseField = {'DeliveryWrhsName'} &amp;gt;} WarehousesBalance.Balance ).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576127#M1119106</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-01-28T10:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576128#M1119107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that I'm missing something - &lt;/P&gt;&lt;P&gt;maybe the problem is with the variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to set the variable? &lt;/P&gt;&lt;P&gt;With the '=' sign? Without?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576128#M1119107</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-28T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576129#M1119108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with = sign&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576129#M1119108</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-01-28T10:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576130#M1119109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt;create variable like&lt;/P&gt;&lt;P&gt;vVariable = Concat(DISTINCT {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WarehouseField &lt;/SPAN&gt;= {'OpenOrders.DeliveryWarehouseName'}&amp;gt;} chr(39)&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WarehouseField &lt;/SPAN&gt;&amp;amp;chr(39))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and put this in set analysis expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum( {&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WarehouseField &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= {'$(&lt;/SPAN&gt;vVariable&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)'} &amp;gt;} WarehousesBalance.Balance )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vipin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576130#M1119109</guid>
      <dc:creator>vipin_mishra479</dc:creator>
      <dc:date>2014-01-28T10:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576131#M1119110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK pepole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm have an expression that work for me, but - it's without Set Analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If( (Warehouses.Db &amp;amp;'-'&amp;amp; Warehouse#) = (OpenOrders.DB &amp;amp;'-'&amp;amp; OpenOrders.DeliveryWarehouseName), (WarehousesBalance.Balance) )) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i write it with Set Analysis??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance - &lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 06:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576131#M1119110</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-29T06:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576132#M1119111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mantan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;would u please attached any example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 06:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576132#M1119111</guid>
      <dc:creator>vipin_mishra479</dc:creator>
      <dc:date>2014-01-29T06:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576133#M1119113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="almost_half_cell"&gt;Hi Vipin - &lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Currently - I don't&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;think I can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;attach the original file (its a big file, with a lot of c&lt;SPAN class="hps"&gt;ommercial data...)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Matan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV dir="ltr"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 06:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576133#M1119113</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-29T06:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576134#M1119115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make some related example file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 06:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576134#M1119115</guid>
      <dc:creator>vipin_mishra479</dc:creator>
      <dc:date>2014-01-29T06:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set Analysis using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576135#M1119117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vipin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached a file with an example.&lt;/P&gt;&lt;P&gt;Please look at the "Delivery Wrhs Qty Balance" - (yellow chart column) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write it with Set Analysis?&lt;/P&gt;&lt;P&gt;Please note that currently there is 1 DB (qob), and in reality there is more (if this matter),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks (again...) for your help -&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 07:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-variable/m-p/576135#M1119117</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2014-01-29T07:58:34Z</dc:date>
    </item>
  </channel>
</rss>

