<?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: Dynamically display value based on year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634635#M446695</link>
    <description>&lt;P&gt;Also tried&amp;nbsp;=count({$&amp;lt;[DTO Year]=,[YTD DTO]= {"&amp;gt;=45"}&amp;gt;}DISTINCT [Customer])&lt;/P&gt;&lt;P&gt;Means if DTO year is ? (2016, 2017, 2018 or 2018) and YTD DTO is more than or equal to 45 then show the respective result.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 02:52:25 GMT</pubDate>
    <dc:creator>DestinedTale</dc:creator>
    <dc:date>2019-10-14T02:52:25Z</dc:date>
    <item>
      <title>Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634632#M446694</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a textbox that shows the value accordingly based on the year i hardcoded in.&lt;/P&gt;&lt;P&gt;=count({1&amp;lt;[DTO Year]={"2019"},[YTD DTO]= {"&amp;gt;=45"}&amp;gt;}DISTINCT [Customer])&lt;/P&gt;&lt;P&gt;Currently, i'm trying to display it when user select the year but can't get it right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When no selection, display the max year, else display the value accordingly.&amp;nbsp;if(GetFieldSelections ([DTO Year]) = '2016',&lt;BR /&gt;count({&amp;lt;[YTD DTO]= {"&amp;gt;=45"}&amp;gt;}DISTINCT [Customer]),&lt;BR /&gt;if(GetFieldSelections ([DTO Year]) = '2017',&lt;BR /&gt;count({&amp;lt;[YTD DTO]= {"&amp;gt;=45"}&amp;gt;}DISTINCT [Customer])))&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634632#M446694</guid>
      <dc:creator>DestinedTale</dc:creator>
      <dc:date>2024-11-16T02:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634635#M446695</link>
      <description>&lt;P&gt;Also tried&amp;nbsp;=count({$&amp;lt;[DTO Year]=,[YTD DTO]= {"&amp;gt;=45"}&amp;gt;}DISTINCT [Customer])&lt;/P&gt;&lt;P&gt;Means if DTO year is ? (2016, 2017, 2018 or 2018) and YTD DTO is more than or equal to 45 then show the respective result.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 02:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634635#M446695</guid>
      <dc:creator>DestinedTale</dc:creator>
      <dc:date>2019-10-14T02:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634668#M446696</link>
      <description>&lt;P&gt;Hi DestinedTale,&lt;/P&gt;&lt;P&gt;May be try like this:&lt;/P&gt;&lt;P&gt;Create a variable:&lt;/P&gt;&lt;P&gt;vMonth = if(GetSelectedCount(&lt;SPAN&gt;[DTO Year]&lt;/SPAN&gt;)=0,max(&lt;SPAN&gt;[DTO Year]),Concat(distinct chr(39)&amp;amp; [DTO Year] &amp;amp; chr(39),','))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No use this expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=count({1&amp;lt;[DTO Year]={$(vMonth)},[YTD DTO]= {"&amp;gt;=45"}&amp;gt;}DISTINCT [Customer])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KC&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 06:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634668#M446696</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-10-14T06:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634674#M446697</link>
      <description>&lt;P&gt;encounter this error while texting in textbox&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Error in set modifier ad hoc element list : ',' or ')' expected&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 06:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634674#M446697</guid>
      <dc:creator>DestinedTale</dc:creator>
      <dc:date>2019-10-14T06:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634692#M446698</link>
      <description>&lt;P&gt;Can you please share a sample qvw ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634692#M446698</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-10-14T07:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634695#M446699</link>
      <description>&lt;P&gt;You have to add and "=" before the expression while declaring the variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634695#M446699</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-10-14T07:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634706#M446700</link>
      <description>&lt;P&gt;attached a sample.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Textbook with 13 is the expression where i used to hardcode the year to 2019.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When select the year, your expression does not show the correct values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 07:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634706#M446700</guid>
      <dc:creator>DestinedTale</dc:creator>
      <dc:date>2019-10-14T07:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634724#M446704</link>
      <description>&lt;P&gt;Hi, added the = but still doesn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634724#M446704</guid>
      <dc:creator>DestinedTale</dc:creator>
      <dc:date>2019-10-14T08:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically display value based on year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634739#M446706</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;This seems to be working:&lt;/P&gt;&lt;P&gt;=count({1&amp;lt;[DTO Year]={$(vMonth)},[YTD DTO]= {"&amp;gt;=30 &amp;lt;45"}&amp;gt;}DISTINCT [Customer])&lt;/P&gt;&lt;P&gt;Pfa sample: check the text box, it shows the expected number on selecting years&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 09:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-display-value-based-on-year/m-p/1634739#M446706</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2019-10-14T09:16:46Z</dc:date>
    </item>
  </channel>
</rss>

