<?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: Display only values of a field depending on the max existing value of another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121054#M521988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With regards to Y-1, what exactly is that covering?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 13:14:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-15T13:14:18Z</dc:date>
    <item>
      <title>Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121050#M521984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I would like to do is to create a pivot table.&lt;/P&gt;&lt;P&gt;"Actual" values ( where we have value from jan to may) and "Budget" values ( where we have value from jan to Dec).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like that the value of budget changes depending on the max existing value of month of "Actual".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127972_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i have now. Where values of "Actual" are from jan to may and values of "Budget" and "Y-1" are from jan to dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would like is that budget and y-1 change their values depending on the max existing value of month that we have in "Actual".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible in the expression of the table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i would like to have (filtering on month):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127979_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that clear enough?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here qvw and xls attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filiberto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/21667"&gt;cleveranjos&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121050#M521984</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2016-06-15T13:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121051#M521985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;&lt;/STRONG&gt;&lt;STRONG&gt;YearMonthID ={"&amp;lt;=$(=Max({&amp;lt;Scenario = {'Actual'}&amp;gt;}YearMonthID))"}, &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;[Scenario]={'Budget'} &amp;gt;} Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121051#M521985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T13:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121052#M521986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this look good?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127977_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121052#M521986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121053#M521987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;too easy for you, master! &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121053#M521987</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2016-06-15T13:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121054#M521988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With regards to Y-1, what exactly is that covering?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121054#M521988</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T13:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121055#M521989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is the LY Actual. So we have value from jan 2015 to dec 2015.&lt;/P&gt;&lt;P&gt;Understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121055#M521989</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2016-06-15T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121056#M521990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe this: Sum({&amp;lt;YearMonthID ={"&amp;lt;=$(=Max({&amp;lt;Scenario = {'Actual'}&amp;gt;}YearMonthID)&lt;STRONG&gt;-12&lt;/STRONG&gt;)"}, [Scenario]={'Actual'}, [DataYear]={'2015'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121056#M521990</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2016-06-15T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121057#M521991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Scenario]={'Actual'}, [DataYear]={'2015'}&amp;gt;} Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121057#M521991</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-15T13:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121058#M521992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Y-1 expression should read:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; YearMonthID ={"&amp;lt;=$(=Max({&amp;lt;Scenario = {'Actual'}&amp;gt;}YearMonthID)&lt;STRONG&gt; - 12&lt;/STRONG&gt;)"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Scenario]={'Actual'},&lt;/P&gt;&lt;P&gt;&amp;nbsp; [DataYear]={'2015'}&lt;/P&gt;&lt;P&gt;&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns the correct result of 22 790 535.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit - beaten to the punch by &lt;A href="https://community.qlik.com/qlik-users/207019"&gt;caccio88&lt;/A&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121058#M521992</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-06-15T13:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display only values of a field depending on the max existing value of another field</title>
      <link>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121059#M521993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am agree! Thank you Jonathan!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 13:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-only-values-of-a-field-depending-on-the-max-existing/m-p/1121059#M521993</guid>
      <dc:creator>caccio88</dc:creator>
      <dc:date>2016-06-15T13:21:36Z</dc:date>
    </item>
  </channel>
</rss>

