<?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: Difference bar (By week) - Qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970219#M13962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've faced the same problem few days ago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was needed to calculate the difference between sales from a week with the week before. It's seems that it is what you are looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below the way you may test It : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt; Department = {"Catering"}&amp;gt;}Customer_ID)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;rangesum(above(count({$&amp;lt; Department = {"Catering"}&amp;gt;}Customer_ID)),1,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my need I was able with this kind of formula to have this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bar chart :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101981_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take Week Or Week_Beginning as dimension and the formula above as mesure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the same as a table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/101982_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2015 10:20:24 GMT</pubDate>
    <dc:creator>brunobertels</dc:creator>
    <dc:date>2015-10-14T10:20:24Z</dc:date>
    <item>
      <title>Difference bar (By week) - Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970218#M13961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this shows Customer_ID totals for each week. 05/01/2015, 12/01/2015&amp;nbsp; column labelled =&amp;nbsp; Week_Beginning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need an expression that will show the difference between the two weeks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt; Department = {"Catering"},&amp;nbsp; Week_Beginning - Date(Week)&amp;nbsp; &amp;gt;}Customer_ID)&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;05/01/2015 total was 30&lt;/P&gt;&lt;P&gt;12/01/2015 total was 35&amp;nbsp; ...so customer difference bar will show the total difference of 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970218#M13961</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-13T15:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Difference bar (By week) - Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970219#M13962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've faced the same problem few days ago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was needed to calculate the difference between sales from a week with the week before. It's seems that it is what you are looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below the way you may test It : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt; Department = {"Catering"}&amp;gt;}Customer_ID)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;rangesum(above(count({$&amp;lt; Department = {"Catering"}&amp;gt;}Customer_ID)),1,1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my need I was able with this kind of formula to have this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bar chart :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101981_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take Week Or Week_Beginning as dimension and the formula above as mesure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the same as a table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/101982_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 10:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970219#M13962</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2015-10-14T10:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Difference bar (By week) - Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970220#M13963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works great thank you however, the subtraction is showing on the wrong week bar week beginning date, its showing the correct figure, but on the week before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension Week_Beginning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g difference of 5 is showing on 05/10/2015, where it should be showing on 12/10/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can help, please do but not to worry as chart looks ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2015 10:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-bar-By-week-Qlik-sense/m-p/970220#M13963</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-14T10:52:21Z</dc:date>
    </item>
  </channel>
</rss>

