<?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 Title as a variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Title-as-a-variable/m-p/173165#M42455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just wondered if there is some variables built in that stores "Title", so I can access it inside a expression.&lt;/P&gt;&lt;P&gt;ie I have a lot of expressions in a chart and I want to copy this into several copies. If I could just change the Title and then use a variable in the expression I wont have to edit the expressions every time I copy the chart.&lt;/P&gt;&lt;P&gt;ex. expression:&lt;/P&gt;&lt;P&gt;if(count(distinct [&lt;B&gt;Title-variable&lt;/B&gt;])=1&lt;/P&gt;&lt;P&gt;Hope anyone understand what Im after.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Nov 2010 12:22:19 GMT</pubDate>
    <dc:creator>t_hylander</dc:creator>
    <dc:date>2010-11-05T12:22:19Z</dc:date>
    <item>
      <title>Title as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Title-as-a-variable/m-p/173165#M42455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just wondered if there is some variables built in that stores "Title", so I can access it inside a expression.&lt;/P&gt;&lt;P&gt;ie I have a lot of expressions in a chart and I want to copy this into several copies. If I could just change the Title and then use a variable in the expression I wont have to edit the expressions every time I copy the chart.&lt;/P&gt;&lt;P&gt;ex. expression:&lt;/P&gt;&lt;P&gt;if(count(distinct [&lt;B&gt;Title-variable&lt;/B&gt;])=1&lt;/P&gt;&lt;P&gt;Hope anyone understand what Im after.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 12:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Title-as-a-variable/m-p/173165#M42455</guid>
      <dc:creator>t_hylander</dc:creator>
      <dc:date>2010-11-05T12:22:19Z</dc:date>
    </item>
    <item>
      <title>Title as a variable</title>
      <link>https://community.qlik.com/t5/QlikView/Title-as-a-variable/m-p/173166#M42456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In some cases I use the expressions in excel spreadsheets or even hardcoded in the load script, specially when this variables are going to be used in a lot of different places or files, and then I retrieve them with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;$(include=expressions.qvs);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This expressions.qvs file may contain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SET vCurrentMonthSales = SUM({&amp;lt; ActualMonthFlag = {'-1'} &amp;gt;} Sales);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now it may be used in a chart using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;$(vCurrentMonthSales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;as expression.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Nov 2010 12:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Title-as-a-variable/m-p/173166#M42456</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-05T12:50:16Z</dc:date>
    </item>
  </channel>
</rss>

