<?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: Current Month % Of Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763829#M472749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, DOH!!!&amp;nbsp; Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Dec 2014 11:18:19 GMT</pubDate>
    <dc:creator>dmac1971</dc:creator>
    <dc:date>2014-12-19T11:18:19Z</dc:date>
    <item>
      <title>Current Month % Of Total</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763827#M472747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a straight table showing top 10 values by a dimension for the current month.&amp;nbsp; This works fine :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&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;$(=year(today()))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=upper(Month(today())-1))'}&amp;gt;}Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to then work out the % of the current month for each of the lines, trying to use this but it only returns 100% ?&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(=year(today()))&lt;/EM&gt;&lt;/STRONG&gt;},&lt;SPAN style="color: #800000;"&gt;MonthNum&lt;/SPAN&gt;={'$(=upper(Month(today())-1))'}&amp;gt;}Value)/&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&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;$(=year(today()))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=upper(Month(today())-1))'}&amp;gt;}Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea where I am going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763827#M472747</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2014-12-19T11:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month % Of Total</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763828#M472748</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 below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(=year(today()))&lt;/EM&gt;&lt;/STRONG&gt;},&lt;SPAN style="color: #800000;"&gt;MonthNum&lt;/SPAN&gt;={'$(=upper(Month(today())-1))'}&amp;gt;}Value)/&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Total {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&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;$(=year(today()))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=upper(Month(today())-1))'}&amp;gt;}Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&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="font-size: 8pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;sushil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763828#M472748</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-12-19T11:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Current Month % Of Total</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763829#M472749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, DOH!!!&amp;nbsp; Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 11:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Of-Total/m-p/763829#M472749</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2014-12-19T11:18:19Z</dc:date>
    </item>
  </channel>
</rss>

