<?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: Calculated Dimension for Barchart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1520678#M437492</link>
    <description>&lt;P&gt;Thanks! Yeah I was able to get it working using a combination of a baseline variable and a 4 month string variable that is created based on the max month-year available. Maybe not ideal, but it is running well so that solves the problem at least.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2018 18:19:20 GMT</pubDate>
    <dc:creator>ncarson4</dc:creator>
    <dc:date>2018-12-13T18:19:20Z</dc:date>
    <item>
      <title>Calculated Dimension for Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1519485#M437378</link>
      <description>&lt;P&gt;Hi, I could use some help from this expert community. I'm trying to make a barchart that would display the following values based on a&amp;nbsp;MonthYear dimension in my dataset:&lt;/P&gt;&lt;P&gt;1) Current Month&lt;/P&gt;&lt;P&gt;2) Prior Month&lt;/P&gt;&lt;P&gt;3) 2 mos Prior&lt;/P&gt;&lt;P&gt;4) Year Prior&lt;/P&gt;&lt;P&gt;5) A user inputted/adjustable Baseline period&lt;/P&gt;&lt;P&gt;These values should all adjust as the user selects a new month.&lt;/P&gt;&lt;P&gt;An example of the Dimension I would like to have if the current month is November&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Values.JPG" style="width: 208px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1990i91DC8517C77C87FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Values.JPG" alt="Values.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Format&amp;nbsp;I would want the barchart to look like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chart Format.JPG" style="width: 526px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1991i7B39950A7BDC60E1/image-dimensions/526x158?v=v2" width="526" height="158" role="button" title="Chart Format.JPG" alt="Chart Format.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help you could provide would be greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1519485#M437378</guid>
      <dc:creator>ncarson4</dc:creator>
      <dc:date>2024-11-16T21:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension for Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1519530#M437380</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Well, you can create the calculated dimension as follows:&lt;/P&gt;&lt;P&gt;Create the following variable, and then add the Calculated dimension.&lt;/P&gt;&lt;P&gt;vMaxDateSelected = Date(Max(DateField));&lt;/P&gt;&lt;P&gt;=IF(DateField&amp;nbsp;&amp;lt;= AddMonths('$(vMaxDateSelected)',-2), 'M-2',&lt;BR /&gt;IF(&lt;SPAN&gt;DateField&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;= AddMonths('$(vMaxDateSelected)',-1), 'M-1',&lt;BR /&gt;IF(&lt;SPAN&gt;DateField&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;= AddMonths('$(vMaxDateSelected)',0), 'Current Month')))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Carlos M&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 22:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1519530#M437380</guid>
      <dc:creator>CarlosAMonroy</dc:creator>
      <dc:date>2018-12-11T22:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension for Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1520678#M437492</link>
      <description>&lt;P&gt;Thanks! Yeah I was able to get it working using a combination of a baseline variable and a 4 month string variable that is created based on the max month-year available. Maybe not ideal, but it is running well so that solves the problem at least.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 18:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-for-Barchart/m-p/1520678#M437492</guid>
      <dc:creator>ncarson4</dc:creator>
      <dc:date>2018-12-13T18:19:20Z</dc:date>
    </item>
  </channel>
</rss>

