<?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: Show the value until a a specific value passed as variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71170#M11694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put it in the formula and use set expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;Year = {"&amp;gt;=$(=(Max (Year) - $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vYears)&lt;/SPAN&gt;))&amp;lt;=&lt;SPAN style="font-size: 13.3333px;"&gt;$(=(Max (Year)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))&lt;/SPAN&gt;"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and have the Year in the dimesion of your table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2018 09:36:23 GMT</pubDate>
    <dc:creator>johanlindell</dc:creator>
    <dc:date>2018-03-08T09:36:23Z</dc:date>
    <item>
      <title>Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71165#M11689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have to show the year until a specific one. &lt;/P&gt;&lt;P&gt;I already have all years and a variable passed by user. &lt;/P&gt;&lt;P&gt;Starting from 2018 if a variable is 3 I have to show 3 columns&amp;nbsp; 2018 2017 2016 2015... so I have to go 3 years back &lt;/P&gt;&lt;P&gt;if vYears is 2 I gave to show column until 2016... 2018 2017 2016 an so on.. &lt;/P&gt;&lt;P&gt;How I can use this variable in table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:11:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71165#M11689</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-08T09:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71166#M11690</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;Ok but how you want to show these values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you add more details ? show the expected output ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71166#M11690</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T09:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71167#M11691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have a table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if vYears = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016&lt;/P&gt;&lt;P&gt;a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v years = 3 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Company&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2016&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xy&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;the values are an max(Score).&amp;nbsp; I have everything, I have just to limit the years based on the vYears variables. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71167#M11691</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-08T09:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71168#M11692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what type of object are you using ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71168#M11692</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-08T09:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71169#M11693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot table, fields and a variable &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71169#M11693</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-08T09:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71170#M11694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put it in the formula and use set expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;Year = {"&amp;gt;=$(=(Max (Year) - $(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vYears)&lt;/SPAN&gt;))&amp;lt;=&lt;SPAN style="font-size: 13.3333px;"&gt;$(=(Max (Year)&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))&lt;/SPAN&gt;"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and have the Year in the dimesion of your table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71170#M11694</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2018-03-08T09:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71171#M11695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a master calendar? Does it have a Year field and is it linked to your facts/measurements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, use a set expression like this in your expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;=Sum({&amp;lt;Year = {"&amp;gt;=$(=Max(Year) - vYears)"}&amp;gt;} &amp;lt;&lt;/EM&gt;metric expression&lt;EM&gt;&amp;gt; )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will limit the chart/table to the number of years required. Using Max(Year) means that you can select another year and go back vYears from there as well as from the current year,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71171#M11695</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-03-08T09:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show the value until a a specific value passed as variable</title>
      <link>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71172#M11696</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;You need to add the part where Year also should be smaller or equal to Max(Year) as you are "overriding" the selection in the Year-field. Otherwise if you select 2016, the field selection in Year will be &amp;gt;=2014 (with vYears = 2) and it will show 2014-2018. Adding &amp;lt;=$(=(Max(Year)) will giv a Year-selection &amp;gt;=2014&amp;lt;=2016 and it will show 2014-2016.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 10:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-the-value-until-a-a-specific-value-passed-as-variable/m-p/71172#M11696</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2018-03-08T10:18:51Z</dc:date>
    </item>
  </channel>
</rss>

