<?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 Variable for Table  fields in a table chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417183#M155115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table chart that shows as follow: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;.......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;.......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can make the fields variables like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimenssion one= Location&lt;/P&gt;&lt;P&gt;Dimenssion two = Year(Today())&lt;/P&gt;&lt;P&gt;Dimenssion three=Year(Today())+1&lt;/P&gt;&lt;P&gt;Dimenssion&amp;nbsp; Four =Year(Today())+2&lt;/P&gt;&lt;P&gt;Expression = Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so next year i dont need to change anything on the chart and will delete 2013 by itself and add the new years&lt;/P&gt;&lt;P&gt;I tried to put it in the dimenssion as it Year(Today()) but it gave me error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2013 22:03:45 GMT</pubDate>
    <dc:creator>alec1982</dc:creator>
    <dc:date>2013-01-11T22:03:45Z</dc:date>
    <item>
      <title>Variable for Table  fields in a table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417183#M155115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table chart that shows as follow: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;.......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;.......&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can make the fields variables like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimenssion one= Location&lt;/P&gt;&lt;P&gt;Dimenssion two = Year(Today())&lt;/P&gt;&lt;P&gt;Dimenssion three=Year(Today())+1&lt;/P&gt;&lt;P&gt;Dimenssion&amp;nbsp; Four =Year(Today())+2&lt;/P&gt;&lt;P&gt;Expression = Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so next year i dont need to change anything on the chart and will delete 2013 by itself and add the new years&lt;/P&gt;&lt;P&gt;I tried to put it in the dimenssion as it Year(Today()) but it gave me error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 22:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417183#M155115</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2013-01-11T22:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for Table  fields in a table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417184#M155116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to save the data in a table with three fields (Location, Year and Sales)&lt;/P&gt;&lt;P&gt;In the bar chart use the calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If([Year] &amp;gt;= Year(Today()) or [Year] &amp;lt;= Year(Today())+2,[Year],Null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check 'Suppress When Value is Null' for the dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 23:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417184#M155116</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-01-11T23:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for Table  fields in a table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417185#M155117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect, however I added couple of years just as a sample, what if we have more then 3 years in total, how can I get the dimenssion to show up to max year?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs for all your help!&lt;/P&gt;&lt;P&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 17:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417185#M155117</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2013-01-12T17:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variable for Table  fields in a table chart</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417186#M155118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may control the years to display using the calculated dimension. As an example, if you want to display three year of data ending with the max(year), your calculated dimension expression will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Year &amp;gt;= $(=Max(Year))-2, Year, Null())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2013 18:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-for-Table-fields-in-a-table-chart/m-p/417186#M155118</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-01-12T18:02:16Z</dc:date>
    </item>
  </channel>
</rss>

