<?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: Using calculated dimensions in charts/graphs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269070#M872128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked, I suppose having the variable in there added an extra '=' in&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 14:16:15 GMT</pubDate>
    <dc:creator>lucasdavis500</dc:creator>
    <dc:date>2016-11-17T14:16:15Z</dc:date>
    <item>
      <title>Using calculated dimensions in charts/graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269068#M872126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a calculated dimension one of my charts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Month_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vTwoMonthLag)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Month_Res&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;SPAN style="font-size: 8pt;"&gt;On the charts themselves, the dimension seems to return "Null"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG alt="dimensions.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/144168_dimensions.png" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Is this the proper way to calculate a single month for a dimension??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;where vTwoMonthLag = &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"$(=Month(AddMonths(Date(Today()),-2)))" &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&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>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269068#M872126</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated dimensions in charts/graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269069#M872127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Model2.Month_Res = Month(AddMonths(Today(), -2)), Model2.Month_Res)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:13:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269069#M872127</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-17T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated dimensions in charts/graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269070#M872128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked, I suppose having the variable in there added an extra '=' in&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269070#M872128</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-17T14:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated dimensions in charts/graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269071#M872129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that could have been the issue, but I am not sure how you have your variable setup and this is why gave you a direct expression without any variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269071#M872129</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-17T14:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated dimensions in charts/graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269072#M872130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Month_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vTwoMonthLag)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Month_Res&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;SPAN style="font-size: 8pt;"&gt;where &lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vTwoMonthLag) = "$(=Month(AddMonths(Date(Today()),-2)))"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;so it was definitely the variable, I have that variable stored for Set analysis, not use in a dimension&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269072#M872130</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-17T14:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated dimensions in charts/graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269073#M872131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,I think u have to create tht variable in load script and u can use on ur chat,tht will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-calculated-dimensions-in-charts-graphs/m-p/1269073#M872131</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2016-11-17T14:56:39Z</dc:date>
    </item>
  </channel>
</rss>

