<?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 Expressions de-coupled from certain dimensions in a pivot? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161431#M35319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if I exactly follow you, but you can force an expression to ignore dimensions using the TOTAL modifier. For example:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(TOTAL Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If that was your expression for Current MTD Average, it would calculate for all records in the dataset ignoring dimension. If you'd like to respect a dimension, but ignore others, use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(TOTAL &amp;lt;RespectThisDimension&amp;gt; Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You can respect more dimensions by separating them with a comma: &amp;lt;Dim1, Dim2...&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2010 16:12:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-26T16:12:20Z</dc:date>
    <item>
      <title>Expressions de-coupled from certain dimensions in a pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161430#M35318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been given a business requirement of a pivot showing VA, PC and Volume, month on month for the most recent two years. As well as showing this, the pivot has to show:&lt;/P&gt;&lt;P&gt;Previous Business Day&lt;BR /&gt;Current MTD Average&lt;BR /&gt;Current YTD Average&lt;BR /&gt;Prior Year Average&lt;/P&gt;&lt;P&gt;My first thought was to not include a date dimension, but make each of the columns a separate expression, one for each year / month.&lt;BR /&gt;unfortunately since the months and years have to be dynamic and update with selections, I cant really do this. My next thought was to have&lt;BR /&gt;a dimension of 'Year-Month' with all possible date values, then concatenate values for each of the four calculations. I would then do&lt;BR /&gt;a conditional expression of something like&lt;/P&gt;&lt;P&gt;if(Year-Month='Previous Business Day', Calculate previous business day's VA, sum(VA))&lt;/P&gt;&lt;P&gt;for each expression. The trouble with this is, the column 'Current MTD Average' would have to have all MTD VA values, but it wont have any?&lt;/P&gt;&lt;P&gt;Is this even possible?&lt;/P&gt;&lt;P&gt;Thanks in advance for any and all help and advice!&lt;/P&gt;&lt;P&gt;(Also, apologies for the double post / previous post being empty, had some IE issues.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 15:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161430#M35318</guid>
      <dc:creator>richnorris</dc:creator>
      <dc:date>2010-02-26T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Expressions de-coupled from certain dimensions in a pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161431#M35319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if I exactly follow you, but you can force an expression to ignore dimensions using the TOTAL modifier. For example:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(TOTAL Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If that was your expression for Current MTD Average, it would calculate for all records in the dataset ignoring dimension. If you'd like to respect a dimension, but ignore others, use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(TOTAL &amp;lt;RespectThisDimension&amp;gt; Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You can respect more dimensions by separating them with a comma: &amp;lt;Dim1, Dim2...&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 16:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161431#M35319</guid>
      <dc:creator />
      <dc:date>2010-02-26T16:12:20Z</dc:date>
    </item>
    <item>
      <title>Expressions de-coupled from certain dimensions in a pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161432#M35320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, that sounds like its along the lines of what Im after! The problem is though, that I've basically got, for each month, 4 columns. VA, PC, Volume and TV. I have totals underneath these. However, after all of these, I want the other calculations, the averages. It sounds like I could probably get the right results with TOTAL, but I need the headings to be 'MTD Average' and not 'Jan - 10' or 'Unknown Month'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 16:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-de-coupled-from-certain-dimensions-in-a-pivot/m-p/161432#M35320</guid>
      <dc:creator>richnorris</dc:creator>
      <dc:date>2010-02-26T16:26:04Z</dc:date>
    </item>
  </channel>
</rss>

