<?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: Challanege: Chart accumulation with missing dimension members in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346365#M576566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THX a lot, will check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Valor Venda already sums -- in the &lt;STRONG&gt;DB &lt;/STRONG&gt;--&amp;nbsp; sales history of a &lt;STRONG&gt;each &lt;/STRONG&gt; product line over the entire history &lt;BR /&gt;(say from 1/1/2010). &lt;/P&gt;&lt;P&gt;For each date that we &lt;STRONG&gt;have sales for a certain product line&lt;/STRONG&gt;, we sum sales for that product line over the entire history.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV, in any date I add Valaor Venda for each of the product-lines and should get the total sales of all products over the entire history!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;That's what I want.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, on some dates there were sales only for a certain product line; and create in the &lt;STRONG&gt;DB &lt;/STRONG&gt;the total over time just for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV, when I sum the totals (over time) over each product line -- on that date. I miss the entire history of the product lines that did not have sales or totals on that certain date....&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bad&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add the &lt;STRONG&gt;latest availalbe&lt;/STRONG&gt; total (as already in the DB) for any product line whose total is missing on that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 11:21:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-22T11:21:47Z</dc:date>
    <item>
      <title>Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346359#M576560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;Hello, I have a similar issue which I could use help with .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;We have date (yyyy-mm-dd) and product-line dimensions, and need to present for each day the total $ bought over all product-lines, as &lt;STRONG style="font-size: 16px;"&gt;running accumulation&lt;/STRONG&gt;over all &lt;STRONG style="font-size: 16px;"&gt;past &lt;/STRONG&gt;dates (&lt;STRONG style="font-size: 16px;"&gt; &lt;/STRONG&gt;say from 1/1/2010);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;The chart must have &lt;STRONG style="font-size: 16px;"&gt;date on x axis&lt;/STRONG&gt; (so its tricky to play with the order of dimensions).&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;The chart should show the each of the latest 60 days (NOT for the entire history); So there is a selection on the date dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;The raw data includes date and $ sales for each product line.&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;However, on certain dates one (or several) product lines had 0 sales and do &lt;STRONG style="font-size: 16px;"&gt;not appear in the data&lt;/STRONG&gt;. So we have a &lt;STRONG style="font-size: 16px;"&gt;'punctured' dimension&lt;/STRONG&gt; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;On those days such product-lines do not get summed at all - yielding a low figure, since the product-line's entire history is omitted from the total on those days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;Any idea of how to avoid punctured dimensions?&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;(hopefully, without inflating raw data with rows with 0$ for the missing products)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 16px; color: #636363; font-family: Arial;"&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 15:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346359#M576560</guid>
      <dc:creator />
      <dc:date>2012-05-10T15:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346360#M576561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, see the exemple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncheck Suppress Zero-Values in the Presentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 19:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346360#M576561</guid>
      <dc:creator>fernando_tonial</dc:creator>
      <dc:date>2012-05-10T19:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346361#M576562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Neat&lt;/STRONG&gt;, but two issues.&lt;/P&gt;&lt;P&gt;- We need to present just part of the dates, yet accumulate all the history.In the example chart if I select from 10/2/2011 the purchases before are not accumulated, and the running total is low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We actually need to present costs relative to the accumulated sales figure (in %); so accumulation is needed in the &lt;STRONG&gt;denominator&lt;/STRONG&gt;. Can we support this&amp;nbsp; with QV chart "Full Accumulation"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One approach is to accumulate values in the script (hold accumulated value per each product and date), and skip QV Full Accumulation. This works badly with missing members ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more tries, I added Grupo B to your data, and used simpler values. Attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 18:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346361#M576562</guid>
      <dc:creator />
      <dc:date>2012-05-11T18:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346362#M576563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my offer, pls to see .zip atached&lt;/P&gt;&lt;P&gt;Good luck, Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2012 09:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346362#M576563</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2012-05-12T09:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346363#M576564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THX. I need to look deeper to understand the result here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 09:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346363#M576564</guid>
      <dc:creator />
      <dc:date>2012-05-22T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346364#M576565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using the built-in Full Accumulation, use Above() and RangeSum() to accumulate in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(Sum([Valor Venda]),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give you the same as using Full Accumulation.&amp;nbsp; However, you can now add on to that the Sum([Valor Venda]) for all dates before the selected range:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeSum(Above(Sum([Valor Venda]),0,RowNo()))+Sum(TOTAL {&amp;lt;Data={"&amp;lt;$(=Min(Data))"}&amp;gt;}[Valor Venda])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so your accumulation will now start at the right level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 09:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346364#M576565</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-22T09:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346365#M576566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THX a lot, will check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Valor Venda already sums -- in the &lt;STRONG&gt;DB &lt;/STRONG&gt;--&amp;nbsp; sales history of a &lt;STRONG&gt;each &lt;/STRONG&gt; product line over the entire history &lt;BR /&gt;(say from 1/1/2010). &lt;/P&gt;&lt;P&gt;For each date that we &lt;STRONG&gt;have sales for a certain product line&lt;/STRONG&gt;, we sum sales for that product line over the entire history.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV, in any date I add Valaor Venda for each of the product-lines and should get the total sales of all products over the entire history!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;That's what I want.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, on some dates there were sales only for a certain product line; and create in the &lt;STRONG&gt;DB &lt;/STRONG&gt;the total over time just for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In QV, when I sum the totals (over time) over each product line -- on that date. I miss the entire history of the product lines that did not have sales or totals on that certain date....&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bad&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add the &lt;STRONG&gt;latest availalbe&lt;/STRONG&gt; total (as already in the DB) for any product line whose total is missing on that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 11:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346365#M576566</guid>
      <dc:creator />
      <dc:date>2012-05-22T11:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Challanege: Chart accumulation with missing dimension members</title>
      <link>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346366#M576567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry - I don't understand your question.&amp;nbsp; Did the above solution not do as you wanted then?&amp;nbsp; Can you maybe provide some specific examples of what you want to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 07:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challanege-Chart-accumulation-with-missing-dimension-members/m-p/346366#M576567</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-23T07:48:28Z</dc:date>
    </item>
  </channel>
</rss>

