<?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: Horizontal Bar Chart Display Actual vs. Previous Month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68746#M4591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks, that means, the printed fat one I should take 1: 1 and just have to adjust the salesID, SalesDate and Sales? With the fat scripture I get the last year? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2018 06:20:55 GMT</pubDate>
    <dc:creator>tim_m</dc:creator>
    <dc:date>2018-03-23T06:20:55Z</dc:date>
    <item>
      <title>Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68740#M4585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a stacked horizontal bar chart to compare either (1) acutal vs. previous month sales or (2) actual vs. forecast sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My approach is to create a ValueList with my relevant KPIs as my Dimension, e.g. =ValueList('EBIT','EBTA','TEST')&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;And one meassure like this:&lt;/P&gt;&lt;P&gt;if(ValueList('EBIT','EBTA','TEST')= 'EBIT',$(vEBIT),&lt;/P&gt;&lt;P&gt;if(ValueList('EBIT','EBTA','TEST')= 'EBTA',$(vEBTA),&lt;/P&gt;&lt;P&gt;if(ValueList('EBIT','EBTA','TEST')= 'TEST',4,NULL())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware that I must create a second meassure in this bar chart to implement the comparing figures, like (1) or (2) you can see at the top of this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have problems with the syntax. I like to implement the following idea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(ValueList('EBIT','EBTA','TEST')= 'EBIT',$(vEBIT), Month(addmonths(max(Date) ,- 1)),&lt;/P&gt;&lt;P&gt;if(ValueList('EBIT','EBTA','TEST')= 'EBTA',$(vEBTA), Month(addmonths(max(Date) ,- 1)),&lt;/P&gt;&lt;P&gt;if(ValueList('EBIT','EBTA','TEST')= 'TEST',4,NULL())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see, that I want to implement the expression &lt;STRONG&gt;Month(addmonths(max(Date) ,- 1))&lt;/STRONG&gt;, but I think on the wrong place and I think in the wrong way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problems. I am happy about your help and maybe an easier way instead of using a ValueList.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards, Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 09:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68740#M4585</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-22T09:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68741#M4586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at what you have?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:14:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68741#M4586</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-22T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68742#M4587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197188_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I want something like this: Red should be the previous year and blue the actual year. Sorry but I have no Idea how I can explain it more detailed. Thank you for your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68742#M4587</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-22T16:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68743#M4588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is vEBIT? Use set analysis to show last year's value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 16:23:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68743#M4588</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-22T16:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68744#M4589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Sunny says Set analysis, so, yes your formula is in the wrong place, it should vEBIT.&lt;/P&gt;&lt;P&gt;Where vEBIT is something like&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;SalesID={"=(SalesDate&amp;lt;=$(=&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month(addmonths(max(Date) ,- 1))))&lt;/STRONG&gt;"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 22:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68744#M4589</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-03-22T22:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68745#M4590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is my problem, I have already read in the forum, but it would be nice if you can tell me how you think that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attachment you can see my target. I want to confront the previous year with the actual year (This example is from a football magazine). I like this chart.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en" style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en" style="font-size: 10pt;"&gt;The lines on&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt;"&gt; the left of the graph are not opportunities, scores and fouls, they are a variety of KPIs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In the one case the left (previous year) balk is longer and maybe in the other case the right. I am pleased about your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 06:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68745#M4590</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-23T06:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68746#M4591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks, that means, the printed fat one I should take 1: 1 and just have to adjust the salesID, SalesDate and Sales? With the fat scripture I get the last year? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 06:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68746#M4591</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-23T06:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68747#M4592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual Month March 2018&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt; vActMonat ={"$(=(AddMonths(Date)))"}&amp;gt;} {&amp;lt;Sales&amp;gt;}VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;March 2017&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt; vActMonat ={"$(=(AddMonths(Date,-12)))"}&amp;gt;} {&amp;lt;Sales&amp;gt;}VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same restrained is, when I implement the following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={&lt;SPAN class="redBold"&gt;$(=Max(Year))&lt;/SPAN&gt;}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={&lt;SPAN class="redBold"&gt;$(=Max(Year)-1)&lt;/SPAN&gt;}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2018&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={"&amp;lt;=$(vActJahr) &amp;gt;=$(=$(vActJahr)-1)"},month={"=$(vActMonat)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={"&amp;lt;=$(vActJahr)-1 &amp;gt;=$(=$(vActJahr)-2)"},month={"=$(=vActMonat)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2016&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year={"&amp;lt;=$(vActJahr)-2 &amp;gt;=$(=$(vActJahr)-3)"},month={"=$(=vActMonat)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same Value in each direct comparison like the following screenshot. I convert the chart in vertical, for an easier comprehension. I really nead support, Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197402" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197402_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2018 13:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68747#M4592</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-24T13:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68748#M4593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I you just want the values sliced by year/month in a bar graph, no set expression is probably required, just set Month and Year as X dimensions and Qlik will sum(Sales) accordingly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2018 16:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68748#M4593</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-03-26T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Horizontal Bar Chart Display Actual vs. Previous Month</title>
      <link>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68749#M4594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 06:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Horizontal-Bar-Chart-Display-Actual-vs-Previous-Month/m-p/68749#M4594</guid>
      <dc:creator>tim_m</dc:creator>
      <dc:date>2018-03-28T06:17:00Z</dc:date>
    </item>
  </channel>
</rss>

