<?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: YTD for bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408047#M426157</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;Rangesum will give you the sum for all listed value. The value will be provided by above. Which by definition will return you sum of sales from 0(current) to row no (the number of row above). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rowno()&amp;nbsp; returns the no of row you are in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Pradosh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Oct 2017 06:17:07 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2017-10-07T06:17:07Z</dc:date>
    <item>
      <title>YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408040#M426150</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;here is a problem I am facing, look at the provided QVW. (Inline Load)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to make an expression, but it is not working. There are two problem.&lt;/P&gt;&lt;P&gt;1) When I select One Month and two years, I want to have 2 Bars - 2016 2 and 2017 2. Now I have bars for each year and each month till selected month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) numbers are incorrect, since 2017 2 has to have 40 (20 + 20).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408040#M426150</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2017-10-06T12:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408041#M426151</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;just added an aggregation function by Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(YOUR_EXPRESSION, Year)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find attached the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408041#M426151</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-10-06T12:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408042#M426152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this works fine if I have one month Selected (And thank you for this). But is is not working when I have 2 Years and More&amp;nbsp; than 1 Month selected. I want to have a bar for each Year/Month.&lt;/P&gt;&lt;P&gt;Like if I select Years 2016 and 2017 + Month 1 and 2 I want to see 4 bars.&lt;/P&gt;&lt;P&gt;Can you please help me with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408042#M426152</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2017-10-06T12:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408043#M426153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, just add the Month in the aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408043#M426153</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-10-06T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408044#M426154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum({&amp;lt;Year, Month&amp;gt;}Sales), 0, RowNo())), Year, Month)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408044#M426154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-06T12:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408045#M426155</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;It displays fine, but numbers are incorrect.&lt;/P&gt;&lt;P&gt;Should be like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178872_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 12:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408045#M426155</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2017-10-06T12:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408046#M426156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you elaborate me what the following part in expression do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RowNo()&lt;/STRONG&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 05:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408046#M426156</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-10-07T05:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408047#M426157</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;Rangesum will give you the sum for all listed value. The value will be provided by above. Which by definition will return you sum of sales from 0(current) to row no (the number of row above). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rowno()&amp;nbsp; returns the no of row you are in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Pradosh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Oct 2017 06:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408047#M426157</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-07T06:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408048#M426158</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;thank you for this, but I kinda have an issue here. It works great in model example that I created, but when I use it in my application, it doesn't work, and it kinda gives me the headaches already &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; .&lt;/P&gt;&lt;P&gt;I don't get it, I copied entire chart, changed just the name of the field, and it even don't give me the right number when I choose only January 2017. Weird is that the March is correct, and for January it is Original January sum + sum for March.&lt;/P&gt;&lt;P&gt;I guess you don't have the suggestions here?&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 09:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408048#M426158</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2017-10-09T09:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408049#M426159</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;first of all you need to check your data how it is loaded. here jan is loaded first then feb and then march and so on .&lt;/P&gt;&lt;P&gt;may be in your app that is not the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try putting it in a straight table and see how it is getting loaded which one first and which one next. you can use the fast change option to covert it into a straight table too and check the loading sequence. may be filter it by year to see the exact sequence.It will surely match then way it is getting loaded to your chart . you can share the screen shot too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 10:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408049#M426159</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-09T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408050#M426160</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;Thank you. You are right, March is the 1 month if I sort by Load Order. How come? We load master calendar from database where it is sorted. Any suggestion how this can be fixed? Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408050#M426160</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2017-10-09T11:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408051#M426161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QlikView 12 or above? If you are, then try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(RangeSum(Above(Sum({&amp;lt;Year, Month&amp;gt;}Sales), 0, RowNo())), Year,&lt;SPAN style="color: #ff0000;"&gt; (&lt;/SPAN&gt;Month&lt;SPAN style="color: #ff0000;"&gt;, (NUMERIC))&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408051#M426161</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-09T11:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408052#M426162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, unfortunately 11.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408052#M426162</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2017-10-09T12:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD for bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408053#M426163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then may be you sort the Month field in the script... Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FactTemp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Year*100 + Month as YearMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Fact&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Year, Month;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum({&amp;lt;Year, Month&amp;gt;}Sales), 0, RowNo())), Year, YearMonth)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-for-bar-chart/m-p/1408053#M426163</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-09T12:05:40Z</dc:date>
    </item>
  </channel>
</rss>

