<?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: Variable as field name in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765015#M472451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES!!! Thank You!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/love.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2015 15:58:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-09T15:58:42Z</dc:date>
    <item>
      <title>Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765009#M472445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following Issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a variable "vYear" and this variable contains a flag from the master calendar. (e.g. vYear = "CY" (which represents the current Year)).&lt;/P&gt;&lt;P&gt;I used to have the following Expression which worked fine for me and calculates the total sales of the current year:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;CY&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {1} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales.Amount&lt;/SPAN&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;P&gt;Now I want to replace the "CY" with the Variable "vYear". As far as I know only field names are allowed on the left Hand side of the modifier. I tried the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {1} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales.Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, QV does not recognoze my variable as the CY field flag from the master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it anyway possible to use variables on the left Hand side of the modifier, if the result of the variable is a field Name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this, I hope this will work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765009#M472445</guid>
      <dc:creator />
      <dc:date>2015-01-09T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765010#M472446</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 tried with a simple test and I understand that you should define your variable without equal sign in the expression.&lt;/P&gt;&lt;P&gt;Try in this way, let me know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765010#M472446</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-09T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765011#M472447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=vYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {1} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Sales.Amount&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt; line-height: 1.5em;"&gt;)&amp;nbsp;&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt; line-height: 1.5em;"&gt;Let us know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 8pt; line-height: 1.5em;"&gt;Simone&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765011#M472447</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2015-01-09T15:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765012#M472448</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;Can you please write the Formular becuase I do not understand which equal sign you want to delete..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765012#M472448</guid>
      <dc:creator />
      <dc:date>2015-01-09T15:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765013#M472449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i tried... unfortunately with the same result..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765013#M472449</guid>
      <dc:creator />
      <dc:date>2015-01-09T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765014#M472450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;In the attched qvw you can find two text objects that get same result, one with field CY, the other with varianle vYear.&lt;/P&gt;&lt;P&gt;Please, see the Variable setting in order to see that there is not = in the definition of vYear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765014#M472450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-09T15:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as field name in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765015#M472451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YES!!! Thank You!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/love.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 15:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-field-name-in-set-analysis/m-p/765015#M472451</guid>
      <dc:creator />
      <dc:date>2015-01-09T15:58:42Z</dc:date>
    </item>
  </channel>
</rss>

