<?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: Trying to use set analysis to show baseline value in pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815533#M287652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whoa! That was it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel weird having overlooked this, but many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jan 2015 20:14:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-20T20:14:40Z</dc:date>
    <item>
      <title>Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815527#M287646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble to get my set analysis to work in a pivot tabel in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my test application I have 6 companies showing EBIT values for each year starting from 2004.&lt;/P&gt;&lt;P&gt;In a variable (vBaseLineYear) I want to provide the baseline year and have the value of that year shown in my pivot.&lt;/P&gt;&lt;P&gt;However, when using this expression: sum({&amp;lt;Year={$(vBaseLineYear)}&amp;gt;} EBIT)&lt;/P&gt;&lt;P&gt;It will only show the value of the baseline year as follows in this example (where vBaseLineYear = 2007):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75686_pastedImage_4.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;It will only calculate when it is actually the baseline year and not with the other years.&lt;/P&gt;&lt;P&gt;The problem seems to be not so much the variable, but rather the using of my set analysis in combination with this pivot set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815527#M287646</guid>
      <dc:creator />
      <dc:date>2015-01-19T20:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815528#M287647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your displayed results make sense to me, so I believe I may be misunderstanding your&amp;nbsp; objective. For the expression "EBIT Baseline", the other years show zero because of the SET expression, which is expected. For the "EBIT" expression, the values show for the other years. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying to fold this in to one line and somehow indicate the baseline year like with a different background color?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 21:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815528#M287647</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-19T21:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815529#M287648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this: =Sum({$&amp;lt;Year={"$(vBaseLineYear)"}&amp;gt;}Ebit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 22:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815529#M287648</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-01-19T22:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815530#M287649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you could do it with alternate state. You would have to assign the vBaseLine alternate state 2 and the same also use within your set analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 22:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815530#M287649</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-01-19T22:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815531#M287650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've made a screenshot of what I'm trying to accomplish. I might not have been clear since the results make sense to you:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75717_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the chosen baselineyear value for each company put underneath the EBIT value of each year.&lt;/P&gt;&lt;P&gt;So right now in above example for row 'TESTCOMPANY A' it gives 0 for each column (2004, 2005, etc) except year 2007. But I want that value '37847' to be displayed in each year for 'TESTCOMPANY A'&lt;/P&gt;&lt;P&gt;For the other rows ('TESTCOMPANY B ... F') I want these results. &lt;/P&gt;&lt;P&gt;This meanshaving value:&lt;/P&gt;&lt;P&gt;'27603' in each 'EBIT BaseLine' column for TESTCOMPANY B&lt;/P&gt;&lt;P&gt;'36796,7' in each 'EBIT BaseLine' column for TESTCOMPANY C&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes my intention clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 06:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815531#M287650</guid>
      <dc:creator />
      <dc:date>2015-01-20T06:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815532#M287651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that should be fairly easy. Add the Total keyword like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=sum({&amp;lt;Year={$(vBaseLineYear)}&amp;gt;}&lt;STRONG&gt;TOTAL&amp;lt;[Company Name]&amp;gt;&lt;/STRONG&gt; EBIT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 20:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815532#M287651</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-20T20:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis to show baseline value in pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815533#M287652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whoa! That was it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel weird having overlooked this, but many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 20:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-use-set-analysis-to-show-baseline-value-in-pivot/m-p/815533#M287652</guid>
      <dc:creator />
      <dc:date>2015-01-20T20:14:40Z</dc:date>
    </item>
  </channel>
</rss>

