<?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: How do you combine a dimension with the same value for a total sum? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292580#M846100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although you think that your dimension contains just values for YearMonth, that's actually just the formatting. The underlying numerical value probably includes the Day as well, which causes multiple seemingly identical dimension values to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's how QlikView works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can solve this by converting your chart dimension into a Dimension expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Date(MonthStart(&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Approved_YearMonth&lt;/SPAN&gt;), 'YYYYMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this? Open the Chart Properties-&amp;gt;Dimensions tab, select the current dimension from the tree and click the Edit... button (far right).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 14:17:20 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2017-03-28T14:17:20Z</dc:date>
    <item>
      <title>How do you combine a dimension with the same value for a total sum?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292579#M846099</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dimension, Approved_YearMonth, where I have multiple values that are the same, i.e. 201701 (5 times), 201702 (12 times) and 201703 10 times (will eventually have all of 2017 as the months go by).&amp;nbsp;&amp;nbsp; What I'm trying to accomplish is just three columns, meaning one 201701 that is a sum total of the 5 that exist, one for 201702 combining the 12 and one for 201703 combining the 10.&amp;nbsp; Additionally, there is 2016MM data (where MM is the two digit month value) that I do not want to include in the chart.&amp;nbsp; I am able, using the following expression, to keep the 2016 data out of the sum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;({&amp;lt;&lt;SPAN&gt;Approved_YearMonth&lt;/SPAN&gt;={&lt;SPAN&gt;"*"&lt;/SPAN&gt;} - {'2016*'} &amp;gt;}&lt;SPAN&gt;SAN&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I accomplish this?&amp;nbsp; As always, thanks in advance for any and all help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292579#M846099</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you combine a dimension with the same value for a total sum?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292580#M846100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although you think that your dimension contains just values for YearMonth, that's actually just the formatting. The underlying numerical value probably includes the Day as well, which causes multiple seemingly identical dimension values to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's how QlikView works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can solve this by converting your chart dimension into a Dimension expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Date(MonthStart(&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;Approved_YearMonth&lt;/SPAN&gt;), 'YYYYMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this? Open the Chart Properties-&amp;gt;Dimensions tab, select the current dimension from the tree and click the Edit... button (far right).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 14:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292580#M846100</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-28T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you combine a dimension with the same value for a total sum?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292581#M846101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Peter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I thought I had taken care of that potential problem with this line of code in my Load Script.&amp;nbsp; I'll try your suggestion and let you know.&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: 12pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[Approval Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, 'M/D/YYYY'), 'YYYYMM') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[Approved_YearMonth]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 14:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292581#M846101</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-03-28T14:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do you combine a dimension with the same value for a total sum?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292582#M846102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the Date() function will only adjust the formatting (the text part of the dual value), not the underlying numerical part. The Days are still there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can easily check this out yourself by creating a straight table with dimensions &lt;SPAN style="font-family: 'courier new', courier;"&gt;Approved_YearMonth&lt;/SPAN&gt; and &lt;SPAN style="font-family: 'courier new', courier;"&gt;=num(Approved_YearMonth)&lt;/SPAN&gt; and your bar chart &lt;SPAN style="font-family: 'courier new', courier;"&gt;sum(...)&lt;/SPAN&gt; as expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 15:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292582#M846102</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-28T15:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do you combine a dimension with the same value for a total sum?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292583#M846103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW if you want to know what the heck these numerical values represent, think about the integer part representing the day number since Dec 30, 1899. The fraction represents the time as a part of one day (meaning that 0.25 equals 6 o'clock in the morning of day 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use Excel, you will recognize this encoding. They're just the same in QV and in Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 15:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292583#M846103</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-28T15:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you combine a dimension with the same value for a total sum?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292584#M846104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah ha!&amp;nbsp; So I've definitely learned something here.&amp;nbsp; I thought I had indeed eliminated the day piece of the date but all I did was just reformat the date minus the day.&amp;nbsp; Thank you for the explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented your suggested fix and it worked.&amp;nbsp; Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 15:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-combine-a-dimension-with-the-same-value-for-a-total/m-p/1292584#M846104</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-03-28T15:17:20Z</dc:date>
    </item>
  </channel>
</rss>

