<?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 SV:Re: SV:Re: Variable variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151082#M28996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to explain it better.&lt;/P&gt;&lt;P&gt;I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;if(Nivå=32,if(Left(Rubrik,1)=' ' or isnull(Rubrik),'',((sum($(FilterSAN) if(År=IndexÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0))&lt;BR /&gt;-sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))&lt;BR /&gt;/sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))),&lt;BR /&gt;&lt;BR /&gt;(sum($(FilterSAN) if(År=IndexÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0))&lt;BR /&gt;-sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))&lt;BR /&gt;/sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This I use in a chart, and I have 9 more that are similiar but the have another variable.&lt;/P&gt;&lt;P&gt;My plan was to take the whole expression and place it a variable, but since I have a unique variable in every expression I was thinking maybe it was possible to use the name of the chart to call the right variable, so that it in this case would be something like $(Filter +'Chartname') or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Aug 2009 17:55:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-05T17:55:11Z</dc:date>
    <item>
      <title>Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151078#M28992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to use a chartname in a expression?&lt;/P&gt;&lt;P&gt;I would like to use a variable that could fetch the name of the chart so that the expression would be something like "Expression" $Variablle+"chartname".&lt;/P&gt;&lt;P&gt;Can that be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 15:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151078#M28992</guid>
      <dc:creator />
      <dc:date>2009-08-05T15:57:11Z</dc:date>
    </item>
    <item>
      <title>Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151079#M28993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per,&lt;/P&gt;&lt;P&gt;you can define a variable and use it in your charts.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 16:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151079#M28993</guid>
      <dc:creator />
      <dc:date>2009-08-05T16:08:01Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151080#M28994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but can I use the name of the chart to be the name of variable I want to call, say for instance that I have a variables named "Cars" and "Trucks" , then I have two charts named the same, can I then use a the same expressions on both charts, but in the chart "Cars" i want it to pick the variable "Cars" and in the chart "Trucks" I want to pick the variable "Trucks"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 16:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151080#M28994</guid>
      <dc:creator />
      <dc:date>2009-08-05T16:43:15Z</dc:date>
    </item>
    <item>
      <title>SV:Re: Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151081#M28995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per,&lt;/P&gt;&lt;P&gt;please create a short example and describe the business need.&lt;/P&gt;&lt;P&gt;Otherwise I have the feeling I didn´t understood you right.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 17:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151081#M28995</guid>
      <dc:creator />
      <dc:date>2009-08-05T17:00:57Z</dc:date>
    </item>
    <item>
      <title>SV:Re: SV:Re: Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151082#M28996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll try to explain it better.&lt;/P&gt;&lt;P&gt;I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;if(Nivå=32,if(Left(Rubrik,1)=' ' or isnull(Rubrik),'',((sum($(FilterSAN) if(År=IndexÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0))&lt;BR /&gt;-sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))&lt;BR /&gt;/sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))),&lt;BR /&gt;&lt;BR /&gt;(sum($(FilterSAN) if(År=IndexÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0))&lt;BR /&gt;-sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))&lt;BR /&gt;/sum($(FilterSAN) if(År=JämförelseÅr and BokfPeriod&amp;lt;=AktuellMånad,(BokförtBelopp),0)))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This I use in a chart, and I have 9 more that are similiar but the have another variable.&lt;/P&gt;&lt;P&gt;My plan was to take the whole expression and place it a variable, but since I have a unique variable in every expression I was thinking maybe it was possible to use the name of the chart to call the right variable, so that it in this case would be something like $(Filter +'Chartname') or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 17:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151082#M28996</guid>
      <dc:creator />
      <dc:date>2009-08-05T17:55:11Z</dc:date>
    </item>
    <item>
      <title>Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151083#M28997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per,&lt;/P&gt;&lt;P&gt;sorry no cool idea at the moment.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 18:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151083#M28997</guid>
      <dc:creator />
      <dc:date>2009-08-05T18:45:59Z</dc:date>
    </item>
    <item>
      <title>Variable variable?</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151084#M28998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;do you just need to see 'Truck' somewhere in the header of the graphic?&lt;/P&gt;&lt;P&gt;Then you should have a look into the functions GETCURRENTFIELD (for groups) or GETFIELDSELECTIONS (for fields)&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2009 03:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-variable/m-p/151084#M28998</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-08-07T03:49:26Z</dc:date>
    </item>
  </channel>
</rss>

