<?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: Using variable as modifier on chart data selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135765#M9524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rhenan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try in this form:&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 style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[MovNF Código MovCtb] = {100,109,110,112,123,131,132,133,134,140,142,143,149,152,156,162,168,169,181,186,139,145,197,199},&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;[NF Flag Status] = {'N'},Ano={&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'$(=$(vCurrentYear))'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[MovNF Valor Contabil])&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2018 12:47:52 GMT</pubDate>
    <dc:creator>undergrinder</dc:creator>
    <dc:date>2018-10-04T12:47:52Z</dc:date>
    <item>
      <title>Using variable as modifier on chart data selection</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135764#M9523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a series of data that I would like to filter for the current year to be shown in my chart. For that, I have created a variable that returns the current year and tried to use it as a set modifier. However, it seems there is something wrong as the values displayed on my chart are all 0s. From my understanding, something is preventing it from recognizing the variable result as 2018.&lt;/P&gt;&lt;P&gt;When I assign the variable to a text box, it correctly shows 2018.&lt;/P&gt;&lt;P&gt;Here's how the expression looks like: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[MovNF Código MovCtb] = {100,109,110,112,123,131,132,133,134,140,142,143,149,152,156,162,168,169,181,186,139,145,197,199},&lt;/P&gt;&lt;P&gt;[NF Flag Status] = {'N'},Ano={&lt;STRONG style="color: #ff0000;"&gt;vCurrentYear&lt;/STRONG&gt;}&amp;gt;}&lt;/P&gt;&lt;P&gt;[MovNF Valor Contabil])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, I am creating the variable through the variables overview, not from the data editor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCurrentYear = year(today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be gratefully appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135764#M9523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-04T12:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable as modifier on chart data selection</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135765#M9524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rhenan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try in this form:&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 style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[MovNF Código MovCtb] = {100,109,110,112,123,131,132,133,134,140,142,143,149,152,156,162,168,169,181,186,139,145,197,199},&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;[NF Flag Status] = {'N'},Ano={&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;'$(=$(vCurrentYear))'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[MovNF Valor Contabil])&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135765#M9524</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2018-10-04T12:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using variable as modifier on chart data selection</title>
      <link>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135766#M9525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works perfectly now, Gabor!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 12:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-variable-as-modifier-on-chart-data-selection/m-p/135766#M9525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-04T12:55:09Z</dc:date>
    </item>
  </channel>
</rss>

