<?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 How to write a variable into a set expressión in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409848#M152429</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;I have this variable:&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MER_GRUPO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'EUR'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Oct'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2012'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;I_TME&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;it works OK, but I need that 'Oct' and '2012' were variables too. 'año' is a variable too and I prooved with&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MER_GRUPO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'EUR'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Oct'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={''&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;año&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;''}&amp;gt;}I_TME) and similar things but I wasn`t able to get the right results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2012 18:19:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-12T18:19:22Z</dc:date>
    <item>
      <title>How to write a variable into a set expressión</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409848#M152429</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;I have this variable:&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MER_GRUPO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'EUR'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Oct'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'2012'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;I_TME&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;it works OK, but I need that 'Oct' and '2012' were variables too. 'año' is a variable too and I prooved with&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MER_GRUPO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'A'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISA&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'EUR'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Oct'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;c_year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={''&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;año&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;''}&amp;gt;}I_TME) and similar things but I wasn`t able to get the right results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this?&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 18:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409848#M152429</guid>
      <dc:creator />
      <dc:date>2012-10-12T18:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a variable into a set expressión</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409849#M152430</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;Depending on what you've stored in a variable (YearVariable for example), you can try on of this:&lt;/P&gt;&lt;P&gt;=Avg({1&amp;lt;MER_GRUPO={'A'},DIVISA={'EUR'},c_month={'Oct'},c_year={'&lt;STRONG&gt;=$(YearVariable)&lt;/STRONG&gt;'}&amp;gt;}I_TME)&lt;/P&gt;&lt;P&gt;=Avg({1&amp;lt;MER_GRUPO={'A'},DIVISA={'EUR'},c_month={'Oct'},c_year={'&lt;STRONG&gt;=$(=YearVariable)&lt;/STRONG&gt;'}&amp;gt;}I_TME) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 18:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409849#M152430</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-10-12T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a variable into a set expressión</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409850#M152431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, assuming you need &lt;STRONG&gt;current &lt;/STRONG&gt;year and &lt;STRONG&gt;current &lt;/STRONG&gt;month, you don't need variables:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=Avg({1&amp;lt;MER_GRUPO={'A'},DIVISA={'EUR'},c_month={"$(=date(ReloadTime(), 'MMM'))"},c_year={"$(=year(ReloadTime()))"}&amp;gt;}I_TME)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2012 18:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/409850#M152431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-12T18:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to write a variable into a set expressión</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/1911168#M1218138</link>
      <description>&lt;P&gt;This question was made for me in 2012.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How could I recover that user and my own bakground with it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 11:34:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-a-variable-into-a-set-expressi%C3%B3n/m-p/1911168#M1218138</guid>
      <dc:creator>lmenendez_grupo_pinero</dc:creator>
      <dc:date>2022-03-29T11:34:54Z</dc:date>
    </item>
  </channel>
</rss>

