<?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: Text box pop-up on Year selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107838#M521635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you make a single Year selection, does the text box work as expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2016 16:14:44 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-01T16:14:44Z</dc:date>
    <item>
      <title>Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107833#M521630</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 am wanting to create a text box that pops up only when a certain Year field is selected. For instance, when any date in 2017 is selected I want the text box to pop-up "Data as of 2016". When any date in 2016 is selected I want the text box to pop-up saying "Data as of 2015", etc. Is there a way to do this in the Show Conditional area in the Layout tab?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 14:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107833#M521630</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-01T14:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107834#M521631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe create a show conditional in your text box like&lt;/P&gt;&lt;P&gt;=GetSelectedCount( DateField) &amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as expression for the text box itself:&lt;/P&gt;&lt;P&gt;=If(Only(Year(DateField)), 'Data as of ' &amp;amp; Only(Year(DateField))-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107834#M521631</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-01T15:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107835#M521632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in the show conditional I put&lt;/P&gt;&lt;P&gt;=GetSelectedCount(Year) &amp;gt;0 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and on the General tab in the 'text' box I put&lt;/P&gt;&lt;P&gt;=If(Only(Year(Year)), 'Data as of ' &amp;amp; Only(Year(Year))-1)&amp;nbsp; or should I remove one of those Years? Either way I get "-" as my result. I'm also not very familiar with the Only function...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 15:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107835#M521632</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-01T15:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107836#M521633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to apply Year() function to a year field, this is only useful to calculate year number from a date number field.&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: 12px; background-color: #f2f2f2;"&gt;=If(Only(Year), 'Data as of ' &amp;amp; Only(Year)-1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In which field do you make your selections in? And how do your field values look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 16:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107836#M521633</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-01T16:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107837#M521634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a list box for the 'Month' field and a separate list box for the 'Year' field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 16:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107837#M521634</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-01T16:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107838#M521635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you make a single Year selection, does the text box work as expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 16:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107838#M521635</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-01T16:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107839#M521636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does not. I am getting a - in the box &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 16:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107839#M521636</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-01T16:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107840#M521637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, ok, we need to put parentheses around the year calculation:&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: 12px; background-color: #f2f2f2;"&gt;=If(Only(Year), 'Data as of ' &amp;amp; &lt;STRONG&gt;(Only(Year)-1)&lt;/STRONG&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 16:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107840#M521637</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-01T16:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text box pop-up on Year selection</title>
      <link>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107841#M521638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, that worked. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 16:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-box-pop-up-on-Year-selection/m-p/1107841#M521638</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2016-06-01T16:35:24Z</dc:date>
    </item>
  </channel>
</rss>

