<?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: Show current yr and last yr value on the same bar in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886971#M73073</link>
    <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried and achieved the same. I needed a bar chart with axis showing months Jan, Feb etc and on Jan I will show two bars one for curr mth and other for last mth. I was able to achieve this by using date o&amp;nbsp; dimensions and year on dimension2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now the problem is I need to bring another chart same one but need to show YTDs. I have been trying for two days and there is no luck. I have used&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(num(month(date#(mydate,'mmmm')))&amp;lt;=num(month(date(mydate2))),&lt;/P&gt;
&lt;P&gt;Rangesum(above((sum({&amp;lt;desc='www'}&amp;gt;}balance)/xrate),0,rowno()))/1000)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls help!&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jan 2022 09:40:51 GMT</pubDate>
    <dc:creator>QS21</dc:creator>
    <dc:date>2022-01-31T09:40:51Z</dc:date>
    <item>
      <title>Show current yr and last yr value on the same bar</title>
      <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1882737#M72672</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I need to create a bar chart on which I will have months Jan to Dec on X axis like this:&lt;/P&gt;
&lt;P&gt;Jan, Feb, Mar,......., Dec&lt;/P&gt;
&lt;P&gt;As for measures, I have Balance which I need to show as two bars. For example, on Jan, I will have two bars one will show curr year balance and other will show last year balance.&lt;/P&gt;
&lt;P&gt;Please help me with how to achieve this in qliksense..&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 11:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1882737#M72672</guid>
      <dc:creator>QS21</dc:creator>
      <dc:date>2022-01-19T11:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show current yr and last yr value on the same bar</title>
      <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1882767#M72675</link>
      <description>&lt;P&gt;have a look at &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/24514"&gt;@Patric_Nordstrom&lt;/a&gt;'s christmas special:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents/24-days-of-Visualization/ta-p/1875069" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-Documents/24-days-of-Visualization/ta-p/1875069&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;i think the 2nd sheet (3 possible ways to do it) is what you need:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="prevyear.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/70510i565BB3130E4DBEC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="prevyear.png" alt="prevyear.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 12:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1882767#M72675</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-01-19T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show current yr and last yr value on the same bar</title>
      <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886483#M73028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/151946"&gt;@chris_djih&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I tried opening the link but I coulnot find the article that you mentioned.. and yes, I am looking for something like above.. Request if you could post the same solution here. Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 12:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886483#M73028</guid>
      <dc:creator>QS21</dc:creator>
      <dc:date>2022-01-28T12:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show current yr and last yr value on the same bar</title>
      <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886504#M73031</link>
      <description>&lt;P&gt;You saw this image on the link?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71164i9DF54B918D98090E/image-size/small?v=v2&amp;amp;px=200" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then you were on the right article, just scroll down and there you can find an example app and the explanation in the attachements:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="grafik.png" style="width: 394px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/71165i435B8E7DE073FB79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="grafik.png" alt="grafik.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There it is exactly described how to solve this in pages 4-9...&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 12:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886504#M73031</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-01-28T12:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show current yr and last yr value on the same bar</title>
      <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886971#M73073</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried and achieved the same. I needed a bar chart with axis showing months Jan, Feb etc and on Jan I will show two bars one for curr mth and other for last mth. I was able to achieve this by using date o&amp;nbsp; dimensions and year on dimension2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now the problem is I need to bring another chart same one but need to show YTDs. I have been trying for two days and there is no luck. I have used&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(num(month(date#(mydate,'mmmm')))&amp;lt;=num(month(date(mydate2))),&lt;/P&gt;
&lt;P&gt;Rangesum(above((sum({&amp;lt;desc='www'}&amp;gt;}balance)/xrate),0,rowno()))/1000)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pls help!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 09:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1886971#M73073</guid>
      <dc:creator>QS21</dc:creator>
      <dc:date>2022-01-31T09:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show current yr and last yr value on the same bar</title>
      <link>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1887080#M73083</link>
      <description>&lt;P&gt;I would recomment to add a field in your calender script (if exists), or at least a new date field that makes selection for YTD a lot more easier:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Load *,
	IF(NUM(NUM(Month(DateField),'00') &amp;amp; NUM(Day(DateField),'00')) &amp;lt;= NUM(Month(today()),'00') &amp;amp; NUM(Day(today()),'00'),1,0) AS Date_YTD
resident table;&lt;/LI-CODE&gt;
&lt;P&gt;then you can add this field into a set-analysis: {&amp;lt;Date_YTD={1}&amp;gt;}.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 13:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-current-yr-and-last-yr-value-on-the-same-bar/m-p/1887080#M73083</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-01-31T13:26:51Z</dc:date>
    </item>
  </channel>
</rss>

