<?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 values in text box with changing year information in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13055#M775731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression as you have written it should equal 49 (2016 MinYr - 2018 MaxYr), but it is not.&lt;/P&gt;&lt;P&gt;and I am unable to get &lt;IMG alt="QV.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200682_QV.JPG" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2018 20:57:30 GMT</pubDate>
    <dc:creator>ZoeM</dc:creator>
    <dc:date>2018-04-24T20:57:30Z</dc:date>
    <item>
      <title>Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13050#M775726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlik Community.&lt;/P&gt;&lt;P&gt;I have a text box overlaying a pivot chart, and in this text box I want to show the difference between the years selected of the stated expression. &lt;/P&gt;&lt;P&gt;My expression counts the number of late products year over year, when the user selects two subsequent years i want the text box to show the difference between those two years. My current expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;[#of Days Post VPP]={"&amp;gt;14"},CY=Max({&amp;lt;[CY]=&amp;gt;}[CY])&amp;gt;}CY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure there is a simple fix to this and I am just glossy eyed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13050#M775726</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13051#M775727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&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; font-size: 13px;"&gt;&lt;STRONG&gt;=Count({$&amp;lt;[#of Days Post VPP]={"&amp;gt;14"}, CY = {"$(=Max([CY]))"}&amp;gt;} CY)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 19:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13051#M775727</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T19:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13052#M775728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},&lt;/P&gt;&lt;P&gt;&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; CY = &lt;SPAN style="color: #ff6600;"&gt;{"$(=Max({&amp;lt;[CY]=&amp;gt;}[CY]))"}&lt;/SPAN&gt; &amp;gt;} CY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 19:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13052#M775728</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-24T19:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13053#M775729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I modify the example like the below, I do not get the correct value (9), difference between 2017 and 2018:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= (count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},CY = {"$(=Min({&amp;lt;[CY]=&amp;gt;}[CY]))"} &amp;gt;} CY))-(count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},CY = {"$(=Max({&amp;lt;[CY]=&amp;gt;}[CY]))"} &amp;gt;} CY))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values:&lt;/P&gt;&lt;P&gt;2016&lt;/P&gt;&lt;P&gt;# of late gateways = 54&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017 &lt;/P&gt;&lt;P&gt;# of late gateways = 45&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018&lt;/P&gt;&lt;P&gt;# of late gateways = 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot use absolute references because the pivot chart changes across years and can compare 205 to 2017 etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:08:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13053#M775729</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-04-24T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13054#M775730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am confused... you are saying that &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; font-size: 13px;"&gt;(count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},CY = {"$(=Min({&amp;lt;[CY]=&amp;gt;}[CY]))"} &amp;gt;} CY)) = 54&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},CY = {"$(=Max({&amp;lt;[CY]=&amp;gt;}[CY]))"} &amp;gt;} CY)) = 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you want there subtraction to be 9? 54 - 5 = 49? Are you at least getting 49? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13054#M775730</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T20:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13055#M775731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression as you have written it should equal 49 (2016 MinYr - 2018 MaxYr), but it is not.&lt;/P&gt;&lt;P&gt;and I am unable to get &lt;IMG alt="QV.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200682_QV.JPG" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13055#M775731</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-04-24T20:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13056#M775732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show me the individual pieces&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},CY = {"$(=Min({&amp;lt;[CY]=&amp;gt;}[CY]))"} &amp;gt;} CY)) in a text box is 54&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;2nd -&amp;gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(count({$&amp;lt; [#of Days Post VPP]={"&amp;gt;14"},CY = {"$(=Max({&amp;lt;[CY]=&amp;gt;}[CY]))"} &amp;gt;} CY)) in a text box is 5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13056#M775732</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T20:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13057#M775733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have both scenarios below. The min in the below example is 2016 and the value obtained from the expression should be 54. The max is 2018 and the value obtained should be 5. But from the snippets, you can see what values I am getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200683_QV1.JPG" style="height: 239px; width: 620px;" /&gt;&lt;IMG alt="QV2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/200687_QV2.JPG" style="height: 224px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 21:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13057#M775733</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-04-24T21:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13058#M775734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, your expressions are not right. What exactly are you trying get? Can you share a sample as I have no idea what you have. I thought you already have your expressions figured out expect the set analysis part... but it appears the whole thing is not right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 21:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13058#M775734</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T21:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13059#M775735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So my final intent is to show the difference between the years that the user selects. If the user selects to compare 2016 and 2017, the text box should show the difference between the two selected years. The pivot table in the back changes according to the selections. If only one year is selected, only year will show, two years selected then two years show etc.&lt;/P&gt;&lt;P&gt;My current expression works when one year is selected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200688_QV.JPG" style="height: 219px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I select two years, say 2017 to compare against 2016 for instance, the expression I have will sum the # Late Gateways&amp;nbsp; and will have a result of 99 (54 from 2016 + 45 from 2017):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV1.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/200689_QV1.JPG" style="height: 243px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need to add to the current set analysis expression:&lt;/P&gt;&lt;P&gt;1. Another expression that emphasizes the min year&lt;/P&gt;&lt;P&gt;2. Subtract the min year # of Late Gateways from max year # of Late Gateways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017 # of Late Gateways (45) subtract &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt; 2016 # of Late Gateways (54) = -9 reduction in late gateways YoY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 21:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13059#M775735</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-04-24T21:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13060#M775736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CY is a year field, right? How do you create that in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 21:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13060#M775736</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-24T21:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show values in text box with changing year information</title>
      <link>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13061#M775737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes CY is the year field. &lt;/P&gt;&lt;P&gt;The data is from a Power Query attached to a library data source and comes into QV that way. In the Script I renamed it so as to create a link to another table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200690_QV2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 21:35:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-values-in-text-box-with-changing-year-information/m-p/13061#M775737</guid>
      <dc:creator>ZoeM</dc:creator>
      <dc:date>2018-04-24T21:35:38Z</dc:date>
    </item>
  </channel>
</rss>

