<?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: Adding a 2nd Column Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358814#M574460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, but I am still having a hard time picturing how your data is set up.&amp;nbsp; Is there any way that you can post a sample .qvw file?&amp;nbsp; (You can strip out data that I don't need to see, and if names or other things need to be scrambled you can do so in Settings &amp;gt; Document Properties &amp;gt; Scrambling, but make sure not to scramble any keys!)&amp;nbsp; Once I have the .qvw file, I should be able to walk you through how to set up your table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2012 18:56:29 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2012-07-23T18:56:29Z</dc:date>
    <item>
      <title>Adding a 2nd Column Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358811#M574457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table that is displaying information about YTD sales, YTD units, YTD COGS, etc. My dimension is year (2012 and 2011 are displayed). Currently I have variance for each of these row items being displayed in the row below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year Num&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; 2012&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; 2011&lt;/P&gt;&lt;P&gt;YTD Sales&lt;/P&gt;&lt;P&gt;Variance&lt;/P&gt;&lt;P&gt;YTD Units&lt;/P&gt;&lt;P&gt;Variance&lt;/P&gt;&lt;P&gt;YTD COGS&lt;/P&gt;&lt;P&gt;Variance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variance is being calculated as follows: ("YTD Sales" - Below("YTD Sales")) / Below("YTD Sales")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm wondering is if there is any way to display variance as a column instead of a row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year Num&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; 2012&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; 2011&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; Variance&lt;/P&gt;&lt;P&gt;YTD Sales &lt;/P&gt;&lt;P&gt;YTD Units&lt;/P&gt;&lt;P&gt;YTD COGS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this would be greatly appreciated. Also, see the attached file for a look at the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 15:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358811#M574457</guid>
      <dc:creator />
      <dc:date>2012-07-19T15:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a 2nd Column Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358812#M574458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example of how your data is set up?&amp;nbsp; It should be possible, but the way to do it depends on your data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 16:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358812#M574458</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2012-07-20T16:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a 2nd Column Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358813#M574459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicole:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions are layed out like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Max(Total CCYTD) = 1,&lt;/P&gt;&lt;P&gt;$(vCCYTDSales) &amp;amp; $(vPCYTDSales),&lt;/P&gt;&lt;P&gt;$(vMaxCYSales) &amp;amp; $(vMax-1CYSales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CCYTD is a flag for the current calendar year to date. PCYTD is a flag for the previous calendar year to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCCYTDSales: &lt;SPAN style="font-size: 8pt;"&gt;Sum({$&amp;lt;CCYTD={1}&amp;gt;}SalesDol) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vPCYTDSales: &lt;SPAN style="font-size: 8pt;"&gt;Sum({$&amp;lt;PCYTD={1}&amp;gt;}SalesDol) &lt;/SPAN&gt;&lt;BR /&gt;vMaxCYSales: &lt;SPAN style="font-size: 8pt;"&gt;Sum({$&amp;lt;CYYearNum={$(=Max(Total CYYearNum))}&amp;gt;}SalesDol) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vMax-1CYSales: &lt;SPAN style="font-size: 8pt;"&gt;Sum({$&amp;lt;CYYearNum={$(=Max(Total CYYearNum-1))}&amp;gt;}SalesDol) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD units and COGS are calculated the same way--just sub in Units/COGS for SalesDol. The only difference was for units I had to use a + instead of the &amp;amp; between current and previous and max and max-1. When I tried to use &amp;amp; for this expression it was adding on extra 0s to the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben D.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 16:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358813#M574459</guid>
      <dc:creator />
      <dc:date>2012-07-23T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a 2nd Column Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358814#M574460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, but I am still having a hard time picturing how your data is set up.&amp;nbsp; Is there any way that you can post a sample .qvw file?&amp;nbsp; (You can strip out data that I don't need to see, and if names or other things need to be scrambled you can do so in Settings &amp;gt; Document Properties &amp;gt; Scrambling, but make sure not to scramble any keys!)&amp;nbsp; Once I have the .qvw file, I should be able to walk you through how to set up your table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 18:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358814#M574460</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2012-07-23T18:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a 2nd Column Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358815#M574461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again and thank you for taking the time to try and help me figure out this problem. I found a solution to this in a similar thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dimensionality&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="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Money&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;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vCCYTDSales) &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vPCYTDSales)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'$#,##0'), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&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;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vCCYTDSales) &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;- &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vPCYTDSales) &lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;/ &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vPCYTDSales)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '#.00%'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In the presentation tab select show partial sums and variance for the label (for CYYearNum).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;From my understanding dimensionality says: if the value falls within the given dimension then place it there, else use the following for the totals column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you again for your help Nicole.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ben D. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 12:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-2nd-Column-Dimension/m-p/358815#M574461</guid>
      <dc:creator />
      <dc:date>2012-07-24T12:14:05Z</dc:date>
    </item>
  </channel>
</rss>

