<?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: How to show data from the current year using set analyses? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966079#M952149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the field for Year is "Ano".&lt;/P&gt;&lt;P&gt;Should i use the name of the field in the expression you suggested, or should i use "Year" exactly how you wrote?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2015 13:11:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-24T13:11:54Z</dc:date>
    <item>
      <title>How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966076#M952146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a bar chart where i would like to display data from the current year by category, but it should be dynamic, user can view other years by clicking in the filter:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="year.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106482_year.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I am just using the field name in my expression, and using the field "Category" as a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can´t use triggers, once it will set the rule for all objects in my sheet.&lt;/P&gt;&lt;P&gt;So, how can i create the rule to display the current year in my chart?&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;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 19:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966076#M952146</guid>
      <dc:creator />
      <dc:date>2015-11-23T19:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966077#M952147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add this to your expression's set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;Year = {"$(=Max(Year))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 19:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966077#M952147</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-23T19:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966078#M952148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;Year = {"$(=If(GetFieldSelections(Year) = 0, Year(Today()), Max(Year)))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 19:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966078#M952148</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-23T19:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966079#M952149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the field for Year is "Ano".&lt;/P&gt;&lt;P&gt;Should i use the name of the field in the expression you suggested, or should i use "Year" exactly how you wrote?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966079#M952149</guid>
      <dc:creator />
      <dc:date>2015-11-24T13:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966080#M952150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Ano= {"$(=Max(Ano))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Ano= {"$(=If(GetFieldSelections(Ano) = 0, Year(Today()), Max(Ano)))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:20:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966080#M952150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T13:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966081#M952151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;{Year={$(=max(Year))}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966081#M952151</guid>
      <dc:creator>silambarasan</dc:creator>
      <dc:date>2015-11-24T13:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966082#M952152</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;Or you can try something like {Ano={$(vYear)}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a variable vYear -&lt;/P&gt;&lt;P&gt;Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966082#M952152</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-24T13:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966083#M952153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should i have 2 expressions in my chart?&lt;/P&gt;&lt;P&gt;One for the dimension and another for the set analyses?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106612_Capturar.JPG" style="width: 620px; height: 271px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966083#M952153</guid>
      <dc:creator />
      <dc:date>2015-11-24T13:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966084#M952154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No you just need one expression. What is your current expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966084#M952154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966085#M952155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two situations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) A chart that displays the sum of the field "Occupants" by category&lt;/P&gt;&lt;P&gt;2) A chart that displays the percentage of "Occupants" by category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both charts should display data from the current Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966085#M952155</guid>
      <dc:creator />
      <dc:date>2015-11-24T13:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966086#M952156</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;adding to Sunny T advices, you can use an expression like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Ano = {"$(=Year(Today()))"}&amp;gt;} quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where quantity is your metric name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966086#M952156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T13:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966087#M952157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expressions for both of them. You just need to add the set analysis to your existing expressions. We can help you here if you share your expressions here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:41:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966087#M952157</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966088#M952158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Sum&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Occupants&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2) &lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[Percentage Occupants]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966088#M952158</guid>
      <dc:creator />
      <dc:date>2015-11-24T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to show data from the current year using set analyses?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966089#M952159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if one of these work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Ano= {"$(=Max(Ano))"}&amp;gt;}Occupants)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;=Sum(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Ano= {"$(=If(GetFieldSelections(Ano) = 0, Year(Today()), Max(Ano)))"}&amp;gt;}&lt;/STRONG&gt;Occupants)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;=Only({&amp;lt;Ano= {"$(=Max(Ano))"}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;[Percentage Occupants])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;=Only(&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;Ano= {"$(=If(GetFieldSelections(Ano) = 0, Year(Today()), Max(Ano)))"}&amp;gt;}&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;[Percentage Occupants])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-data-from-the-current-year-using-set-analyses/m-p/966089#M952159</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-24T13:49:00Z</dc:date>
    </item>
  </channel>
</rss>

