<?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 value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827494#M291329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; you tried to provide a third variable&lt;/P&gt;&lt;P&gt;vNew = vTest2-vTest&lt;/P&gt;&lt;P&gt;and use&lt;/P&gt;&lt;P&gt;the new variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=$(=(vNew)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 11:41:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-20T11:41:44Z</dc:date>
    <item>
      <title>set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827488#M291323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;i have two variables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;let vTest2 = &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;let vTest = fieldname&lt;/SPAN&gt; (numeric,1,2,3,4 ...12)&lt;/P&gt;&lt;P&gt;in TextBox, this works: &lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTest2)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTest)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;but in set Analysis no &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=$(=month_ID)- $(vTest)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;i want to deduct both variables, how should i do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;felipe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 10:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827488#M291323</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T10:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827489#M291324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there only one month_id selected?&lt;/P&gt;&lt;P&gt;in vTest2 you define max(month_id)&lt;/P&gt;&lt;P&gt;try to select ONE month. &amp;gt;Does the set Analysis still is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 10:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827489#M291324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-20T10:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827490#M291325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we are not able to replicate the issue can you please share the sample data or app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 10:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827490#M291325</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-07-20T10:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827491#M291326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i select always one month and the set is wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827491#M291326</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T11:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827492#M291327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try if this works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=$(=Max(month_ID)- $(vTest))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;$(=Max(month_ID)- $(vTest))'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sushil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827492#M291327</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-07-20T11:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827493#M291328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks,&lt;/P&gt;&lt;P&gt;i tried that already. QV reads only the first Expression: =Max(month_ID), but not the $(vTest)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827493#M291328</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T11:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827494#M291329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; you tried to provide a third variable&lt;/P&gt;&lt;P&gt;vNew = vTest2-vTest&lt;/P&gt;&lt;P&gt;and use&lt;/P&gt;&lt;P&gt;the new variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=$(=(vNew)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827494#M291329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-20T11:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827495#M291330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data structure is like this ( i cannot use the data)&lt;/P&gt;&lt;P&gt;month_Id,customerID&lt;/P&gt;&lt;P&gt;1,1&lt;/P&gt;&lt;P&gt;1,2&lt;/P&gt;&lt;P&gt;1,3&lt;/P&gt;&lt;P&gt;1,4&lt;/P&gt;&lt;P&gt;1,5&lt;/P&gt;&lt;P&gt;2,1&lt;/P&gt;&lt;P&gt;2,2&lt;/P&gt;&lt;P&gt;2,3&lt;/P&gt;&lt;P&gt;2,4&lt;/P&gt;&lt;P&gt;2,5&lt;/P&gt;&lt;P&gt;2,6&lt;/P&gt;&lt;P&gt;3,1&lt;/P&gt;&lt;P&gt;3,2&lt;/P&gt;&lt;P&gt;3,3&lt;/P&gt;&lt;P&gt;3,4&lt;/P&gt;&lt;P&gt;3,5&lt;/P&gt;&lt;P&gt;3,6&lt;/P&gt;&lt;P&gt;3,7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTest is a field, to be selected in filter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline [field&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;12]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827495#M291330</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T11:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827496#M291331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this one: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;$(=Max({1}month_ID)-$( vTest))&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827496#M291331</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-07-20T11:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827497#M291332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's up with the&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;let vTest = fieldname&lt;/SPAN&gt; (numeric,1,2,3,4 ...12)&lt;/P&gt;&lt;P&gt;The fieldname function requires a field number and a table name.&lt;/P&gt;&lt;P&gt;You could start by replacing it with an integer, and see if that gives you a result of the set expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827497#M291332</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2015-07-20T11:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827498#M291333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working. vNew works, but not in the set Analysis expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:55:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827498#M291333</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T11:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827499#M291334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if vnew is working then this should work: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;$(vNew)'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if this wont work then share ur sample app.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 11:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827499#M291334</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2015-07-20T11:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827500#M291335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;this works, when using the field month_ID directly:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt; ={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 14pt;"&gt;$(=max(month_ID)-$(vTest))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;when using a Trigger in another field "month_text", toggle select month_ID, it does not work any more.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827500#M291335</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T12:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827501#M291336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;This statement wont work in the script :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;let vTest2 = &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;if you want the max then you need to do a group by on the key field otherwise it wont fetch the max value.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please share the your app??&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827501#M291336</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-07-20T12:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827502#M291337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it fetches the max value.&amp;nbsp; as said, this formula worked &lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;month_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt; ={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 14pt;"&gt;$(=max(month_ID)-$(vTest))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 14pt;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;customer_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;),'#.##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue is also, that i am using two fields as filter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month_text (names of months and year)&lt;/P&gt;&lt;P&gt;month_ID used in formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the UI the user shall select a month from the filter month_text and the value selected shall activate the month_ID field (in the Background). The month_ID value is used in the Expression. I used for this toggle select on the field month_text and activated the month_ID, which works correctly, however, the selected month_ID is not activating the Expression. To activate the Expression i Need to select directly the month_ID, what is what i do not want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cannot share my app (more than 700 millions, but the data I submitted previously reflects the data structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827502#M291337</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827503#M291338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the relationship between the fields month_text and month_ID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you selects a value in month_text and the actions does it's thing on Month_ID, how do the Month_ID listbox then look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827503#M291338</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2015-07-20T12:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827504#M291339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, it Looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month_id, month_text&lt;/P&gt;&lt;P&gt;90,Jul.2015&lt;/P&gt;&lt;P&gt;89,Jun.2015&lt;/P&gt;&lt;P&gt;88,May.2015&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;bis Jan.2011&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827504#M291339</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827505#M291340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All right,&lt;/P&gt;&lt;P&gt;It's unclear why a selection in month_id performs differently than a selection in month_text, as the relationsships seems to be 1:1 based on Graphics above.&lt;/P&gt;&lt;P&gt;When you select a single value in month_text, is more that one month_id then possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827505#M291340</guid>
      <dc:creator>jfkinspari</dc:creator>
      <dc:date>2015-07-20T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827506#M291341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the User Interface i use the filter "month_text" and the user selects, for example Jul.2015, then in the Expression i use the "month_ID" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this means, when the user selects Jul.2015, the field "90" is selected. For this i used toggle select as Trigger on the field "month_text". The value "90" is selected (green), but the Expression does not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827506#M291341</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis value</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827507#M291342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, this is not possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-value/m-p/827507#M291342</guid>
      <dc:creator>felcar2013</dc:creator>
      <dc:date>2015-07-20T12:42:39Z</dc:date>
    </item>
  </channel>
</rss>

